Moideling with TG 3 primatives

Started by bobbystahr, April 14, 2015, 05:21:38 PM

Previous topic - Next topic

bobbystahr

Some time back, like when displace-able objects came about I did a 3 cube arch model and saved the .tgc. Well I came across it to-day and being bored I built this using only primitives. I added midway rings(squashed sphere) and bases for the pillars(octahedrons) and another cube for the walls. The side walls when rotated needed the texture also rotated 90 degrees...good thing I mostly texture with the Transform shader in the pipeline.
Should anyone want a copy of this say so here and I'll post a .tgc to file sharing.
something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist

yossam


bobbystahr

#2
Quote from: yossam on April 14, 2015, 06:25:09 PM
Cool bobby........... 8)

thanks man...the fruits of boredom....
something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist

mhaze

Clever - I can see uses for this...

bobbystahr

something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist

inkydigit

That's really neat Bobby!
Flashes of inspiration come at the most mundane times sometimes!
This will have many uses for sure!
Cheers
Jason
:)

bobbystahr

Quote from: inkydigit on April 17, 2015, 06:11:10 AM
That's really neat Bobby!
Flashes of inspiration come at the most mundane times sometimes!
This will have many uses for sure!
Cheers
Jason
:)


The best discovery was how to apply an image map to a cube properly in this situation. Tried it's U/V and had no luck till I realized I could use Y Planar, and then the realization I needed to rotate the texture as well as the wall. God Bless the Transform Shader...my new BFF.
something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist

El Kabong

Thanks for the example there Bobby. Guess I wasn't too far off trying to moidel (heh) with primitives. Think the object I was trying to build was a bit too complex for this approach, especially when I tried to reposition entire group of objects, so I abandon it in favor of LW3d Modeler.

While studying your .tgc, I noticed that the displacement looked odd. I changed the displacement from 2 to -2. See image for result.

Question, which may have been answered elsewhere, is the image file that is used on multiple objects loaded into memory x number of times, or is it loaded into memory once and referenced multiple times?

Later
Ron

bobbystahr

Quote from: El Kabong on April 22, 2015, 02:42:51 PM

Question, which may have been answered elsewhere, is the image file that is used on multiple objects loaded into memory x number of times, or is it loaded into memory once and referenced multiple times?

Later
Ron


Cool Ron, I hadn't been paying attention to that aside from getting the tex correctly mapped.

Well I copied and pasted the cube multiple times so I'm assuming TG loads it to every iteration...I really can't recall the actual answer.
something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist

Dune

If you use a default shader calling the texture in each object it is indeed called X times, and heavy. But if you load it once and link that to each part, it's only loaded once.