🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.graphics.avs
Article #218

Building Geometry Hierarchies

#218
From: Manapragada Srinivas
Date: Mon, 14 Dec 1992 16:40
63 lines
2193 bytes
Hi,

	I am not really sure if this should be a bug report. I am trying to
build geom hierarchies wherein the geometries are being created by different
modules. Unfortunately the geom naming convention of concatenating the module
instance number at the end, prevents this.

	For example consider two Modules A and B, which produce two geometries
G1 and G2 respectively. Furthermore Module A sends the name of its geom "G1"
on a string port to Module B. Module B then tries to set the parent of its
geometry to this name ("G1"). Assume also that Module B waits until the data
on the string port (geometry name) arrives.

	The hierarchy under top shows up as follows

	top
		G1.0
		G1.1
			G2.1

	and if were to guess the correct name of G1 and pass down G1.0 to mod B
	the following hierarchy shows up

	top
		G1.0
		G1.0.1
			G2.1

	Whereas the intended hierarchy was either

	top
		G1
			G2

	or less preferrably

	top
		G1
			G2.1

	Is there any way of turning off the concatenation of the instance
number? I guess am looking for a way by which I can refer to geometries within
a module created by other geometries.

	The only other alternative would be for us to write a module which
would have geometry inputs ( no proper documentation for doing so, and
probably a frowned upon practice ), which would then set up the hierarchies.

	I probably might be missing something, however I searched the AVS4
manuals and AVS5 updates, and didn't find anything which would help me.

	I tried using AVSset_object_group but the group name didn't show up
in the object browser.

	Any help in this matter would be greatly appreciated,

Thanks
Srinivas

Landmark Graphics Corp.

-- 
Yonder, beyond the event horizon!
Technical Details
Message-ID: <1992Dec14.164027.26631@lgc.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!lgc.com!lgc.com!srinivas

Show Full Headers
Complete Article Headers
Newsgroups: comp.graphics.avs
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!lgc.com!lgc.com!srinivas
From: srinivas@lgc.com (Manapragada Srinivas)
Subject: Building Geometry Hierarchies
Message-ID: <1992Dec14.164027.26631@lgc.com>
Sender: usenet@lgc.com
Nntp-Posting-Host: squirt.lgc.com
Organization: Landmark Graphics LGC
Date: Mon, 14 Dec 1992 16:40:27 GMT
Lines: 63