Game Development Community

Torus shape. Grid smaller and in power of 2, texture lock

by Giorgio Zanetti ( JoZ ) · in Constructor · 05/07/2007 (1:57 pm) · 11 replies

Wouldn't it be nice... a torus shape plugin? :)

Further that some things I would like to see in the next release of constructor is the ability to prevent textures from stretching and/or sliding when editing brushes with the SIZE BOUNDS tool, I think many people would like this feature, and a further control on the grid, allowing us to have it smaller (it resize when is still quite big) and allowing us to use a grid in base 2 (2>4>8>16>32>64>128 and so on...) very usefull for texturing purposing and to create istantly brushes that fit the texture size...

JoZ

#1
05/12/2007 (7:05 pm)
Just curious, but what do you want a torus shape plugin for? I might be convinced to write one.
#2
05/14/2007 (1:31 pm)
Uhm... how can I explain... for a lot of purposes...
Generally it can be very usefull to add a cilindric details running on the surface of cilindric buildings or to made part of a cilindric tunnel that curve (hollowing the cilinder, then trim in quarters the torus and hollow it then connect it with the cilinder...) or to made an arch structures based on cilindric surface... Uses can be countless... :)
JoZ
#3
05/18/2007 (4:23 pm)
In some other editor I see the word "torus" to reference pratically a cilinder with a cylindric hall inside... what I wanna mean is not that but like those... (on the pages also some maths usefull I think...)

www.fordham.edu/lewis/fferm/fferman.htm
www.fordham.edu/lewis/fferm/torus.pngwww.fordham.edu/lewis/fferm/tirescol.png

rsp.math.brandeis.edu/3D-XplorMath/Surface/torus/torus.html
rsp.math.brandeis.edu/3D-XplorMath/Surface/torus/torus.png
JoZ
#4
05/21/2007 (7:55 pm)
@Joz - I'm about halfway there - should have a torus plugin sometime this week.
#5
05/22/2007 (4:36 am)
Ehehe Jaimi, yet tried out your extrude plugin and been very impressed!

Eheheh you should work for GG, your works are so helpfull !!! :)

[ Hey GG, hire him!!!! LOL ;) ]

JoZ.
#6
05/22/2007 (10:00 pm)
Joz - I need a tester for the torus plugin - want to try it for me?
#7
05/23/2007 (11:52 pm)
Yes Jaimi, for sure! :)

Still you have my e-mail?

JoZ
#8
05/24/2007 (11:01 pm)
OK - I posted the latest ones here:

http://www.aztica.com/Images/plug-ins.zip

Let me know what you think!

(anyone else who wants to try them is welcome also)
#9
05/28/2007 (4:35 pm)
Hi Jaimi! :)

Made some initial test with the TORUS (not really intensive althought...)

It seems to work very well, no crashes at all, no problems with the tool settings, just need some explanation about this settings:
-Costrain
-Tubular
-2P/Face

The only problems I've noticed is with the exported .dif.
But, since I've experienced similar but really worst problem with exported geometry created by the standard sphere tool, I think this is more a map2dif problem then a problem in the plugin...
---( I start to think that having a new sphere tool redone by you would be a wonderfull job ;-) !!! Eheheh )---

I post here 2 pics of the export of 2 different torus.
I must say that both this torus were created with a high def parameters, about 24 segments for 18 sides (something impossible with the standard sphere tool)
After each pic you can find the info .txt created at the end of the export process...


------------------------------------------------------------------------------------
The worst result I've had is that, note that this torus has been
edited with the planar scale tool and I think this is the main
responsible of the missing faces...
(Later I would try to redo some spheres I've got very buggy this time without edit them with planar scale just to see if this tool is the main responsible for buggy geometries, I think this is important to know...)

lh5.google.it/image/gz77it/RltWvRJEhcI/AAAAAAAAAGc/8sxWmJVV4RU/s800/screenshot_001-00001.jpgtorus01.dif

Constructor Version: 1.0.1

Date: 2007/05/28 23:31:14

Detail Level 0
Zones: 1
Points: 928
Surfaces: 438
Null Surfaces: 0
BSP Nodes: 2147

Textures From Brushes: FLOOR4

Static Meshes and Textures: -- None --


------------------------------------------------------------------------------------

This is the export of a torus exactly as created by the tool, no editing at all of it...
As you can see there is only a little break in it that let you see the terrain under...

lh5.google.it/image/gz77it/RltWvRJEhdI/AAAAAAAAAGk/RU-Bf7IJeVo/s800/screenshot_002-00001.jpg
torus02.dif

Constructor Version: 1.0.1

Date: 2007/05/29 00:03:44

Detail Level 0
Zones: 1
Points: 1764
Surfaces: 432
Null Surfaces: 0
BSP Nodes: 2236

Textures From Brushes:
FLOOR4

Static Meshes and Textures:
-- None --

------------------------------------------------------------------------------------

Something may be usefull it's a parameter to edit the inside hall dimension, to explain it better, a parameter that set how far from the center start the brush inner side, without having to edit the height and the outer sizes since in this way often is difficult to obtain the precise outer/inner size you want...


About the others plugin...

Can you give me a basic explanation about the Information plugin?

Tried also BuildHouse and Extrude plugins, they both work great and at the moment I've no suggestion about them, they simply looks do the work perfectly, maybe with some more usage can come in mind some improvement but at the moment any comes to my mind :-)

The only suggestion I have is that, since the very great work, having a paypal account, many or at least some members would be happy to donate some as reward ;-)

I think GG must take you in consideration when deciding to improve further the tools of Cnstrctr :)

JoZ
#10
05/29/2007 (8:35 pm)
-Costrain - This constrains the torus to be circular (it does a best-fit on the bounding box). If unchecked, then the torus will be ellipsoidal.

-Tubular - this is a special mode I left in for testing. It doesn't constrain the height.

-2P/Face - this is another testing mode. It creates two planes per face instead of one. I was trying to get past some precision errors. Not recommended for normal use.

Information plugin - Currently will only tell you the ID's of the selected object. Will generally expand to give more information in the future. I use it when I am debugging.

Quote:Something may be usefull it's a parameter to edit the inside hall dimension, to explain it better, a parameter that set how far from the center start the brush inner side, without having to edit the height and the outer sizes since in this way often is difficult to obtain the precise outer/inner size you want...

Yeah, I was trying to make it so it was completely editable in the viewport. It shouldn't be too hard to use a value for the center instead of the height of the bounding box. I'll try to fit it in.

As for the missing faces, can you try with 1.0.2 of constructor?
#11
05/30/2007 (12:26 am)
Tnx for the explanation Jaimi, U R doing a great work ;)

Yes I will be happy to test with Cnstr 1.0.2 .... I was away (in Vienna, oh a such beautifull city it is! ehehhe) for some day and not checked out, so I was not aware it's out! So tnx also for this ;)

JoZ