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

    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
    • The Black Arrow

      Hope everyone has the blessing of undying motivation for "The Dark Mod 15th Anniversary Contest". Can't wait to see the many magnificent missions you all may have planned. Good luck, with an Ace!
      · 0 replies
×
×
  • Create New...