I'd like to ask about usage of z-buffer for semi-transparent models, because in the past I had problems placing such meshes in CS3D. Can't remember clearly, but I think I tried every option (<zuse /> <zfill /> and etc...)Sometimes I messed with other environment (only to realize that it became partially invisible behind semi-transparent object).By semi-transparent I mean usual object with .PNG or .DDS semi-transparent texture.What options should I choose to see one semi-transparent object through another?Because I fail to understand what was wrong...CS version was/is 1.0rc1 or 2...

Thank you! That helped me, but only partially (rough meshes, just to test it) notice how far leaves sticking out of invisible plane that still exist on some of the semi-transparent meshes. The trunk is still visible because it has higher priority (object vs. alpha) although I tried both priorities during test.

Not sure what's the problem... I'm using CELStart 1.0 version8 or something like that...DL-ing CELStart v1.2 at the moment, but Darek, I heard that you was able to "override" that problem by creating custom renderloop. Can't you give me a sample plz?

I know about <alpha><binary/></alpha>, but still I'd like use semi-transparent meshes...

Added: Few moments ago tried same thing on CELStart v1.2 with same results...

For the texture i set the followingtxtDemo->GetTextureHandle()->SetAlphaType(csAlphaMode::alphaSmooth);

In the world file, the culler for the sector should be set to "frustvis". Don't use "dynavis" because it will cull objects thatare completely "obscured" by other meshes, no matter if they are semi-transparant or not.

rvhaasenGood to see you here So what you're saying is I need something like<priority>alpha</priority> (I described priorities in my previous post here)<mixmode><alpha /></mixmode><ztest />Am I correct?I'm asking because I already tried this variant with both of possible cullers, and the result always was "back2front", in other words far meshes are covering ones that closer...Whether I use method that Darek posted here or not.

But I don't know how to write "texture" part in XML, as for cullers, yes, dynavis will probably (look my topic about XML just below this one) cull everything behind these meshes, to avoid this you just need to write <viscull>no</viscull> to these meshes (can't remember what to do in 3ds)

P.S. If you have something new regarding 3ds exporter, can you send it on my e-mail? Or share with everyone?

About the 3ds exporter:i'm now picking up my activities on the 3dsmax exporter. The latest version has full shader-support.I designed it in such a way that it should be convenient to use. This version is almost ready.If you/others are interested i can send you a version as soon it is "ready to be used/tested"

rvhaasenWorks like a charm. I already posted in my 3rd post here about <alpha><binary/></alpha>, but with <alpha><smooth /></alpha> everything works with semi-transparency. But allow me to post certain parts of code to explain (just to explain everything, forgive me for being too informative, but I remember when I didn't understand a thing here ):<textures> <texture name="leaves.dds"> <file>./tex/leaves.dds</file><alpha><smooth /></alpha></texture></textures>

And that's all. Below is an additional line I used, it creates "nothing" for collision detection (in other words disables collision detection) and for visibility culling (disables visibility culling, since I use dynavis, regrettably my previous advice aren't working). Yes, with lines below instead of 2 certain lines above, it worked on both cullers.

</params> <polymesh><viscull /><colldet /></polymesh> </meshfact>

As an ex-FPS-gamer I prefer dynavis where it's less possible to have major slow-downs when you hastily turn your "head" to face something with too complex geometry. I just don't like this to happen so unexpectedly

OffTopic:Regarding 3ds exporter:Don't you want to create a topic?There you can explain how to use this exporter, how much of the previous code and conventions (like _g_ for genmeshes and such) you used. Did you redo "particles" part, since it was outdated in PlaneShift exporter and so on...And attach exporter itself please, since I'd like to try it and to participate a little...BTW in recent couple of days I've added "support" for materials with just colors and without texture, they can be added like this (m - material):format "<material name=\"%\"> <color red=\"%\" green=\"%\" blue=\"%\" /></material>\n" m.name ( m.diffuse.red / 255 ) ( m.diffuse.green / 255 ) ( m.diffuse.blue / 255 ) to:WorldFileOutand other misc stuff, like conditions to have both colldet and viscull switched off for certain mesh (but you already saw it in this post) and so on.Later I'd like to add "Custom Property" for mesh to be able to control whether it has (collision detection && visibility culling) mesh inside itself or not, and whether to place it on meshFact or independently for each instance.Same for normal exporting. I added it long ago but didn't even test it, since it takes too long to export them and I'd like to be able to export normals for certain meshes (in case there will be problems otherwise).And more (it comes)P.S. Don't quote everything below "OffTopic" line since I'd like to delete it (or move to new topic)...