Jump to content
The Dark Mod Forums

DR ASE Blend Exporter


Recommended Posts

  • Your materials folder is called matrials, which I guess is part of the problem. The script does not have to be shipped with the pk4, it is only used by DR to create the model. The latter must be shipped with the pk4.

That was just a spelling error in archive I created to send to you, its more important you look at the map as you should be able to see what I am trying to do. I've attached it to this post, just rename to bt.zip to unzip the map file.

bt.zip.txt

Link to comment
Share on other sites

Please reread the tutorial. You have to create a special material file for blending. In your case it would be

 

textures/bikerdude/stone_grass_blend
{
 surftype15
 description "dirt vine_friendly"
 bumpmap textures/darkmod/nature/grass/short_dry_grass_local
 {
blend diffusemap
map textures/darkmod/nature/grass/short_dry_grass_dark
VertexColor
 }
 bumpmap textures/darkmod/nature/dirt/dry_earth_stones_local
 {
blend diffusemap
map textures/darkmod/nature/dirt/dry_earth_stones
inverseVertexColor
 }
}

You need to ship both the material file and the model with the pk4 to get it working (should be obvious).

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to comment
Share on other sites

:)

post-11230-0-92408600-1380209371_thumb.jpg

  • Like 2

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to comment
Share on other sites

:)

Im attempting to follow your tut, but in the meantime could you attach a zip file with the relevent files? This was I can see in DR if Im doing something wrong. It will be very small, so wont effect your broadband cap.

 

Hehe, that screenshot reminds me of the work I had to do for GC with his forest map. He exported the whole terrain as ASE and I did the vertex blending for him. Good thing we can do that easier now...

Yeah if I had of know about this when I was doing the update it would have meant a better looking floor for the forest.

Link to comment
Share on other sites

@Biker: You already have the blendtexture and the python script. Just copy the above shader in a material file, that's all you need.

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to comment
Share on other sites

@Biker: You already have the blendtexture and the python script. Just copy the above shader in a material file, that's all you need.

Yeah I applied the new "blend texture" to the terrain patch, then exported as blend ase then imported as modle etc and there is still no blend. I will try again at work.

 

You removed the vertex blended terrain in the update process?

Now, but I had to make parts of the forest smaller and had to work around the terrain models..

Link to comment
Share on other sites

@Biker,

 

When you get your stone/grass model working, would you please make all the parts available?

 

I'm not a model person, nor a shader person, and I'm having trouble following the tutorial, and the vids are too blurry. I suspect there are some missing steps that are intuitively filled in by folks who are used to making models and/or dealing with shaders, and I'm unable to fill those in.

 

If I have all the parts to examine, I might be able to make some progress.

 

Thanks.

Link to comment
Share on other sites

Yeah I applied the new "blend texture" to the terrain patch, then exported as blend ase then imported as modle etc and there is still no blend. I will try again at work.

Note that you have to have both the actual terrain AND the blend brushes selected when running the exporter. (This is the last thing I think you could be doing wrong).

 

If this isn't it and you can't get it to work, please post a step-by-step description of what you are doing, so I can get an idea of what may be wrong.

 

I'm not a model person, nor a shader person, and I'm having trouble following the tutorial, and the vids are too blurry.

As said I'm going to upload a new video with better resolution next month, when I have some bandwith available again. Need to buy a headset first, though, so I can comment what I'm doing.

I suspect there are some missing steps that are intuitively filled in by folks who are used to making models and/or dealing with shaders, and I'm unable to fill those in.

I know nothing about modeling and only have a vague idea of how the shader stuff works.

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to comment
Share on other sites

Ok, good news, I figured out WTF I was doing wrong. I will be back here with a tut in due course.

 

@Obs,

  • how do you get around the issue of textures having different scales? Eg in my case the dirt texture was at a large scale than the grass.
  • can your script blend decals, eg texture with parts that are transparent - I would like to create a cobblestone stexture that would blend in such a way that I can see the surrounding grasse inbetween the cobble stones etc.
  • also is there anyway to chnage the orientation of the textures in respect of each other..? I did try changing the orientation of the texture on the blend brushes but that made no difference.

ta.

Link to comment
Share on other sites

Ok, here is an alpha map using part of the training mission to see if I could create a reasonable facsimile of the outside ground and I think I managed to do that.

 

The lighting is sub-optimal though because the blend material def is very basic its missing ambient lighting stage - as I mentioned before this test map is very alpha. Consider it proof of concept and I will make a tut video tomorow as promised.

 

post-496-0-00253700-1380376576_thumb.jpg

 

blend_alpha_test.zip.txt

Link to comment
Share on other sites

Somehow I have a feeling this blend exporter will cause a revolution in map graphics quality levels when the mappers learn how to use it to its full potential.

The more clear the instructions are, the more quickly it will be adopted by the mappers.

Clipper

-The mapper's best friend.

Link to comment
Share on other sites

Ah cool, can you pint me at the wiki entry..?

[...] could create a reasonable facimily [...]

 

[...] the blend material def is very bassic [...] Consider it proof of consempt [...]

 

 

 

I'll pint you at the wiki entry... In fact.. a pint for everyone this aftern0000n!

 

:P sorry, couldn't resist!

Edited by Lux
Link to comment
Share on other sites

Ok, good news, I figured out WTF I was doing wrong. I will be back here with a tut in due course.

 

@Obs,

  • how do you get around the issue of textures having different scales? Eg in my case the dirt texture was at a large scale than the grass.
  • can your script blend decals, eg texture with parts that are transparent - I would like to create a cobblestone stexture that would blend in such a way that I can see the surrounding grasse inbetween the cobble stones etc.
  • also is there anyway to chnage the orientation of the textures in respect of each other..? I did try changing the orientation of the texture on the blend brushes but that made no difference.

ta.

Can you tell me what you did wrong in the first place?

 

Beneath scale you can use rotate to rotate the texture.

 

Regarding the transparent blend. I guess it may works if you remove the second texture. I will try if that works.

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recent Status Updates

    • Sotha

      WIP mission name confirmed: "The Last Offering"
       
      · 5 replies
    • Sotha

      Today I started writing readables for my WIP mission.
      I wrote my usual text and then crammed it into AI and boom, high quality stuff comes out.
      I used to say that clipper is the mappers best friend, but now it seems it is more like "AI is the mappers best friend."
      · 2 replies
    • The Black Arrow

      Just saw further into 2.13 development, or is it 2.14? Anyway, proper Parallax Mapping...Absolutely fuck yes, please!
      · 2 replies
    • nbohr1more

      Happy Halloween! "Gem of Souls" is out:
       
      Psst, someone let Darkfate know...
      · 1 reply
    • The Black Arrow

      Is there a thread for "Moving Day 2: Look Who's Moving Now"? If not, could someone hint me on what is Dick's birthday? This mission is quite enjoyable on its disturbing creepy implications.
      · 3 replies
×
×
  • Create New...