Need schematic view showing simple LOD
by ChrisG · in Artist Corner · 12/03/2007 (3:33 am) · 10 replies
I'm trying to create a simple shape in 3ds 6 that uses just 2 levels of detail.
I'm trying to get one for 128px and larger and one for anything smaller.
I've looked around the forums but can't find anything that shows me how to do it manually (although I'm sure I've come across an example before).
Here is a screenshot of the schematic view

What's happening with this is that it just shows the low res lod and not the high res one.
thanks in advance
I'm trying to get one for 128px and larger and one for anything smaller.
I've looked around the forums but can't find anything that shows me how to do it manually (although I'm sure I've come across an example before).
Here is a screenshot of the schematic view

What's happening with this is that it just shows the low res lod and not the high res one.
thanks in advance
About the author
Currently working on ZDay: www.zdaygame.com
#2
I tried changing the lod levels in the dts from 2 and 128 to 4 and 140 but this didn't work either.
Is there a tutorial somewhere explaining how to make LODs manually, just in case I'm, missing something obvious?
12/03/2007 (1:46 pm)
The LODs display correctly in showtool pro when the detail levels are set manually using the detail level slider.I tried changing the lod levels in the dts from 2 and 128 to 4 and 140 but this didn't work either.
Is there a tutorial somewhere explaining how to make LODs manually, just in case I'm, missing something obvious?
#3
12/03/2007 (8:06 pm)
As I said, if the LODs are all there in the file run unmessdts on your dts. The exporter is messing up the detail levels making torque switch LODs at the wrong distance.
#4
You might want to play with the detailAdjust. A search on it might help.
12/04/2007 (12:21 am)
Check these 2 settings in your Prefs file (game/client/prefs.cs):$pref::TS::autoDetail = "1"; $pref::TS::detailAdjust = "0.45";
You might want to play with the detailAdjust. A search on it might help.
#5
For anyone wanting to use this app you need to run it from command line ie:
unmessdts.exe input.dts output.dts
12/04/2007 (6:52 pm)
@Magnus - thanks that did the trick!For anyone wanting to use this app you need to run it from command line ie:
unmessdts.exe input.dts output.dts
#6
I run it with unmessdts.exe input.dts input.dts so it simply overwrites the bad dts... Actually, my export maxscript automatically runs unmessdts on my exported files. =)
12/05/2007 (2:18 am)
Great!I run it with unmessdts.exe input.dts input.dts so it simply overwrites the bad dts... Actually, my export maxscript automatically runs unmessdts on my exported files. =)
macroScript ExportDTS
category:"WIT"
internalcategory:"WIT"
buttontext:"ExportDTS"
toolTip:"ExportDTS"
(
fname = maxfilepath + getFilenameFile(maxFileName) + ".dts"
exportFile fname
DOSCommand ("unmessdts.exe \"" + fname + "\" \"" + fname + "\"")
)
#7
12/05/2007 (3:48 pm)
I haven't played with maxscript before. How do I go about setting this script up for max6?
#8
MAXScript->Run Script.
Then use Customize->Customize User Interface to add the script to a button, keyboard command or quad menu.
Make sure you have unmessdts.exe somewhere in your path. I usually just dump it into the windows folder.
12/06/2007 (3:07 am)
Make a text file called dts.mcr, paste the script code in there. MAXScript->Run Script.
Then use Customize->Customize User Interface to add the script to a button, keyboard command or quad menu.
Make sure you have unmessdts.exe somewhere in your path. I usually just dump it into the windows folder.
#9
01/28/2008 (4:58 am)
What the unmess DTS does ?
#10
01/28/2008 (3:20 pm)
Unmess DTS makes the LODs work correctly in Torque - the max2DTS exporter doesn't export them correctly.
Torque Owner Magnus Blikstad
Does both the LODs work if you look at the DTS in showtool pro and turn off the automatic LOD there? If so it may be a case of the LOD distances getting a bit messed up. (not entirely sure when or why that happens, but it does with some combinations of max and exporters). If the LODs are all there in the exported file try feeding your .dts through unmessdts.exe