1 registered members (Ayumi),
662
guests, and 3
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
[MED] Shaderviewer
#343728
10/09/10 16:10
10/09/10 16:10
|
Joined: Jul 2005
Posts: 1,930 Austria
Dark_samurai
OP
Serious User
|
OP
Serious User
Joined: Jul 2005
Posts: 1,930
Austria
|
Hi!
It would be great to have something like the engine preview button in MED, but instead of the default engine window, the model is opened in the shader viewer.
Thanks!
ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)! get free version
|
|
|
Re: [MED] Shaderviewer
[Re: Dark_samurai]
#343732
10/09/10 16:45
10/09/10 16:45
|
Joined: Oct 2007
Posts: 5,210 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
|
viewer.c runs when you go to file->engine preview.
you can do all sorts of stuff there, just make sure you back them so it does not get over-written when you update gs.
3333333333
|
|
|
Re: [MED] Shaderviewer
[Re: Quad]
#343748
10/09/10 21:00
10/09/10 21:00
|
Joined: Dec 2006
Posts: 1,086 Queensland - Australia
Nidhogg
Serious User
|
Serious User
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
|
That's handy to know, Thanks Quadraxas.
Windows XP SP3 Intel Dual Core CPU: E5200 @ 2.5GHz 4.00GB DDR3 Ram ASUS P5G41T-M LX PCIE x16 GeForce GTS 450 1Gb SB Audigy 4 Spyware Doctor with AntiVirus
|
|
|
Re: [MED] Shaderviewer
[Re: Nidhogg]
#343750
10/09/10 21:09
10/09/10 21:09
|
Joined: Jul 2005
Posts: 1,930 Austria
Dark_samurai
OP
Serious User
|
OP
Serious User
Joined: Jul 2005
Posts: 1,930
Austria
|
Ok, so I would have to edit the viewer.c file. It would be better if we could select in MED which file we want to run.
ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)! get free version
|
|
|
Re: [MED] Shaderviewer
[Re: Dark_samurai]
#343752
10/09/10 21:12
10/09/10 21:12
|
Joined: Dec 2006
Posts: 1,086 Queensland - Australia
Nidhogg
Serious User
|
Serious User
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
|
Maybe in viewer.c you can do a select type panel for what you'd like to use/run.
Windows XP SP3 Intel Dual Core CPU: E5200 @ 2.5GHz 4.00GB DDR3 Ram ASUS P5G41T-M LX PCIE x16 GeForce GTS 450 1Gb SB Audigy 4 Spyware Doctor with AntiVirus
|
|
|
Re: [MED] Shaderviewer
[Re: Nidhogg]
#343754
10/09/10 21:25
10/09/10 21:25
|
Joined: Oct 2007
Posts: 5,210 İstanbul, Turkey
Quad
Senior Expert
|
Senior Expert
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
|
or use naming convention like S: Specular N: Normal
the name your files like S_carpet.mdl SN_pistol.mdl N_crate.mdl
then read this name in viewer.c also as far as i know you can add menu items to wed/med by creating a plugin using the plugin sdk. it should not be hard to add different, even configurable run options.
Last edited by Quadraxas; 10/09/10 21:26.
3333333333
|
|
|
Re: [MED] Shaderviewer
[Re: Quad]
#343784
10/10/10 12:26
10/10/10 12:26
|
Joined: Jul 2005
Posts: 1,930 Austria
Dark_samurai
OP
Serious User
|
OP
Serious User
Joined: Jul 2005
Posts: 1,930
Austria
|
Yes of course there would be a lot of "workarounds" to do that but I think it's easy to implement and useful. So why shouldn't this be implemented in MED by default?!
ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)! get free version
|
|
|
|