Jump to content
The Dark Mod Forums

Recommended Posts

Posted
  • 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

Posted

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

Posted

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... :)

 

Nice work, Früchtekuchen. :)

Posted
:)

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.

Posted

@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

Posted

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.

You removed the vertex blended terrain in the update process? :blink:

Posted
@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..

Posted

@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.

Posted

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

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

When I figure out WTF I am doing wrong I will post a tut vis for you guys, because Obs bandwidth is limited etc.

Posted

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.

Posted

You should be able to use the scale keyword in the material definition for both blend materials separately. The same goes for the rotate keyword, to answer two of your questions, BD.

Posted
You should be able to use the scale keyword in the material definition for both blend materials separately. The same goes for the rotate keyword, to answer two of your questions, BD.

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

Posted

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

Posted

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.

Posted (edited)

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
Posted (edited)

Only halfway? I don't get like that until 10+ beers.

 

I think, because usually I don't remember a whole lot about those nights. :P

Edited by 161803398874989

You can call me Phi, Numbers, Digits, Ratio, 16, 1618, or whatever really, as long as it's not Phil.

Posted

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

Posted
  • Can you tell me what you did wrong in the first place?
  • Beneath scale you can use rotate to rotate the texture.

  • I was using a completely flat patch.
  • what do you mean, I assume your not refering to the texture/scale controls in DR as thats not possible.

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

    • Frost_Salamander

      @taaaki Wiki seems broken. Main page works but click any link and:

      · 0 replies
    • Goblin of Akenash

      Another goblin secrets episode on the way with the new update
      Focuses are:
      supporting 100% runs on shadow playstyles
      fixing the softlock
      and a tiny visual upgrade

      · 0 replies
    • STiFU

      Sorry for not being around enough lately. I am extremely busy at the moment. We are trying to build a home and the German bureaucracy is killing me! Meanwhile, child number 2 is underway. 🙂
      · 0 replies
    • cvlw

      Yo TDMers.
      It has been a while.  This past year or so I have encountered some tough family issues, became a grandfather, had a job change, and then Steam offered Dishonored and Dishonored 2 along with all DLC for like 5 dollars.  So... have played that.  What a game; highly recommend.
      I am looking to resume TDM activity soon.
      Clint
      · 2 replies
    • Airship-Ballet

      If anyone would like some ambient sounds for any of their work please do hit me up - I've tons of strings both physical and sampled that I love making loops with
      · 2 replies
×
×
  • Create New...