🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.graphics.avs
2 messages
2 total messages Started by Manapragada Srinivas Mon, 14 Dec 1992 16:40
Building Geometry Hierarchies
#218
Author: 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!
Re: Building Geometry Hierarchies
#219
Author: Pete Levinthal
Date: Mon, 14 Dec 1992 19:31
9 lines
1214 bytes
>         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.

Place a % (percent character) at the begining of the string supplied in your
GEOMedit_geometry call.  This is from the ConvexAVS 3.9 GEOM Reference section
and should apply to all versions and ports of AVS.

Pete
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads