POV-Ray : Newsgroups : povray.general : Seeking Anim advice : Re: Seeking Anim advice Server Time
14 Aug 2024 05:19:11 EDT (-0400)
  Re: Seeking Anim advice  
From: Rob Brown-Bayliss
Date: 8 Oct 2001 17:42:58
Message: <3bc21de2@news.povray.org>
Thanks for the advice,  After asking I waded rightin without waiting foir
replies.

What I have done sofar is to create macros for things like foundation
poles and bearers, floor joists etc (this is as far as I got last night)

These macros some times include a test for detail level, for example if
detail > 7 then I but bolts through the poels and bearers, otherwise
leave the bolts out.

Then I have an include file, that is similar to Chaps idea, It list
things like:

#declare Emptysection = 0
#declare Excavated	= 1
#declare Slab = 2
#declare Blocks = 3
#declare Poles = 4
#declare JoistBearers = 5
#declare SectionAJoists = 6
#declare StudyBeams = 7
#declare StudyJoists = 8 
#declare StudyLowerWall = 9 
#declare LowerCatwalkBeams = 10
#declare GuestJoist = 11
#declare GarageJoists = 12

(once again as far as I have got)

and in my main file I do:

// The Foundation
#declare FoundationsA = union
{
	#local FFL = 44.95
	#local Height = 2
	#local JSize = 0.25
	#local FThick = 0.02

	#if (ConStage >= SectionAJoists)
		object
		{
			FloorJoists(7.2,8.4,0.45,JSize)
			rotate <0,90,0>
			translate <0,(FFL - JSize - FThick),0>
		}
	#end
	
	object
	{	//Bearers(PoleDiam, NumPoles, Height, Length)
		Bearers(0.25, 5, Height, 7.2)
		translate <-4,FFL - JSize - FThick - Height,0>
	}


And, when I finaly come to the animation I hope to increase the ConStage
every some many degrees that the camera rotates around the scene...

How does this sound?  I decided on this as it's fairly easy to alter the
order that objects apear to be built...  And the detail will at a later
stage enable me to zoom in on specifics...

At least, this is the thory :o)

-- 

  Rob Brown-Bayliss
 ---======o======---


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.