Porting tSxtruder for tS 6.6...
Posted: 27 Jun 2012, 13:25
Well, being the first post in this area, there is always the possibility that one doesn't do the right thing...
However, like the title says, the question concerns the port of the Bendy's tSxtruder tSx from tS3 version to 6.x. I'd downloaded the plugin with the source from the Bendy' site:
http://www.bendys.com/3d/tsxtruder/tsxtruder.html
and while the tSx doesn't worked in 6.6. its source shown why (tS3 API's constructors for the MFC classes doesn't match with the versions above). After the changes the port is working. My further changes are:
- deactivated all the non-triangular tassellation (buggy with SDS subdivision, tS crash when one does attempt for);
- hidden all the bumps and textures' options in seat of extrusion (still buggy with the SDS); it's best to do that applies after the extrusion (stable);
- rebuilt the interface (no longer "extruded") and more friendly to understand;
- added the windows' position settings;
- added a new button ("Heightfield") as shortcut to the own favourite heightfield map generator, configurable through an INI file;
A BUG STILL REMAIN
The only occasional bug which I'm unable to solve is the tS 6.x crashing when the render visibility is set as "raycast" and when one does render the scene in such a mode while play with its own TGA files. No problem with "scanline" and Dribble. Doesn't matter whether the raytrace is on or off as well, in these latters visibility/renderer, tS 6.x is stable. The "raycast" visibility must be used only with a saved scene. If someone knows how to do to set the visibility through the tSx API, a workaround could be that of forcing the visibility' switch in seat of plugin's loading, otherwise mind at this.
The zip for testing (extract inside the "..\tsx\" folder and set the INI path for one of the your favourite heightfield generator: >Terragen, Wilbur, GIMP, Photoshop and so on, otherwise the button will do nothing):
However, like the title says, the question concerns the port of the Bendy's tSxtruder tSx from tS3 version to 6.x. I'd downloaded the plugin with the source from the Bendy' site:
http://www.bendys.com/3d/tsxtruder/tsxtruder.html
and while the tSx doesn't worked in 6.6. its source shown why (tS3 API's constructors for the MFC classes doesn't match with the versions above). After the changes the port is working. My further changes are:
- deactivated all the non-triangular tassellation (buggy with SDS subdivision, tS crash when one does attempt for);
- hidden all the bumps and textures' options in seat of extrusion (still buggy with the SDS); it's best to do that applies after the extrusion (stable);
- rebuilt the interface (no longer "extruded") and more friendly to understand;
- added the windows' position settings;
- added a new button ("Heightfield") as shortcut to the own favourite heightfield map generator, configurable through an INI file;
A BUG STILL REMAIN
The only occasional bug which I'm unable to solve is the tS 6.x crashing when the render visibility is set as "raycast" and when one does render the scene in such a mode while play with its own TGA files. No problem with "scanline" and Dribble. Doesn't matter whether the raytrace is on or off as well, in these latters visibility/renderer, tS 6.x is stable. The "raycast" visibility must be used only with a saved scene. If someone knows how to do to set the visibility through the tSx API, a workaround could be that of forcing the visibility' switch in seat of plugin's loading, otherwise mind at this.
The zip for testing (extract inside the "..\tsx\" folder and set the INI path for one of the your favourite heightfield generator: >Terragen, Wilbur, GIMP, Photoshop and so on, otherwise the button will do nothing):