#1 2014-09-16 00:27:59

rebit
Member

Help with my Tree

What im doing wrong ?

I generate a Tree in SpeedTree and export to .OBJ format with all textures in .PNG.

I review all stuff, examples and the Tree not open, pls if you can teach me to how put my tree in my map.

Download package tree package:  https://drive.google.com/file/d/0B48Srd … sp=sharing (7.3 mb)

Im using this code for arvore01.cfg  , i dont know if is right.

objload arvore1.obj
objpitch 1
mdlspec 50
mdlscale 100

objskin Cap Cap_04.png
objbumpmap Cap Cap_04_Normal.png

objskin BlueSpruceBark BlueSpruceBark.png
objbumpmap BlueSpruceBark BlueSpruceBark_Normal.png

objskin Needles Leaf_Low.png
objbumpmap Needles Leaf_Low_Normal.png

jpFJ4s6.jpg

Offline

#2 2014-09-16 00:59:27

rebit
Member

Re: Help with my Tree

Done !

I used a Unwarpped Export option in SpeedTree, and now works not perfect but... Im in evolution...

objload arvore01.obj
objskin *      arvore01_Unwrapped.png         
objbumpmap *   arvore01_Unwrapped_Normal.png
mdlscale 100         
mdlspec 100         
mdlshadow 1         
mdlellipsecollide 1 

EllAZ2x.jpg

Last edited by rebit (2014-09-16 21:31:11)

Offline

#3 2014-09-16 01:34:34

rebit
Member

Re: Help with my Tree

Its not 100% ...

Offline

#4 2014-09-16 19:04:23

rebit
Member

Re: Help with my Tree

nobody ?

Offline

#5 2014-09-16 21:14:40

ThaOneDon
Member

Re: Help with my Tree

Well tune it until it is ???

Offline

#6 2014-09-16 21:30:24

rebit
Member

Re: Help with my Tree

No. i try to load directly, but i dont know how the texture system for .obj in tesseract works...

Very frustation because .mtl files not working on engine...

Offline

#7 2014-09-16 23:34:54

SniperGoth
Member

Re: Help with my Tree

There's a commnad to make all the leaves to appear, but i don't quite remember it...     

The obj.cfg handling is pretty simple too.

Offline

#8 2014-09-17 08:50:05

Unnamed
Member

Re: Help with my Tree

You are looking for mdlalphatest. The default value is 0.9. Try 0.6 or 0.5

Offline

Board footer