Planetside Software Forums

General => Terragen Discussion => Topic started by: bobbystahr on April 14, 2015, 05:21:38 PM

Title: Moideling with TG 3 primatives
Post by: bobbystahr on April 14, 2015, 05:21:38 PM
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.
Title: Re: Moideling with TG 3 primatives
Post by: yossam on April 14, 2015, 06:25:09 PM
Cool bobby........... 8)
Title: Re: Modeling with TG 3 primatives
Post by: bobbystahr on April 14, 2015, 08:04:24 PM
Quote from: yossam on April 14, 2015, 06:25:09 PM
Cool bobby........... 8)

thanks man...the fruits of boredom....
Title: Re: Moideling with TG 3 primatives
Post by: mhaze on April 16, 2015, 04:22:08 AM
Clever - I can see uses for this...
Title: Re: Moideling with TG 3 primatives
Post by: bobbystahr on April 16, 2015, 08:48:45 AM
Quote from: mhaze on April 16, 2015, 04:22:08 AM
Clever - I can see uses for this...

Posting in File Sharing
Title: Re: Moideling with TG 3 primatives
Post by: 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
:)
Title: Re: Moideling with TG 3 primatives
Post by: bobbystahr on April 17, 2015, 08:51:34 AM
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.
Title: Re: Moideling with TG 3 primatives
Post by: El Kabong on April 22, 2015, 02:42:51 PM
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
Title: Re: Moideling with TG 3 primatives
Post by: bobbystahr on April 22, 2015, 02:53:06 PM
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.
Title: Re: Moideling with TG 3 primatives
Post by: Dune on April 23, 2015, 02:47:45 AM
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.