Forum Moderators: wheatpenny, TheBryster
Vue F.A.Q (Last Updated: 2024 Dec 30 8:14 pm)
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
By taking the dot product of this normalized vector - which actually represents the vector pointing from the eco'ed object towards the "center object" - with the vector (-1,0,0) - that represents the default zero orientation for ecosystems - I get the cosine of the orientation angle.
Taking the arc cosine will give me the angle in radians, which then has to be mapped from the 0..3.1416 range to the 0..1 range.
Unfortunately, the arc cosine function only represents HALF a circle. The other half must be obtained by determining the relative y position - is the eco object in front of the center object, or is it at the back? If it's in front, we can keep the angle that the arc cosine function has calculated, if it's in the back, we'll have to take the opposite of the calculated angle.
That is what the right hand side of the graph is accomplishing. By taking the dot product of the normalized vector with (0,1,0) (alright, a Decomposer 3 using the Y component would achieve the same thing), I get the relative Y position.
Message edited on: 01/13/2006 23:37
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
None of that makes any sense to me at all lol (new user - the math makes sense, but how it relates to what's in the Vue screen grabs is something I'll need to learn), but I still thank you for putting all that up as it shows what you can do with an ecosystem - if you need to do something really different it can be done with a bit of ingenuity.
Thanks :)
Message edited on: 01/14/2006 06:33
Dreams are just nightmares on prozac...
Digital
WasteLanD
Very clever SVDL. I wish Vue had a function that would allow you to capture the coordinates of any object in the scene. This way you could just compute the dot product between the target object and the eco object to adjust the eco object position. I have put in a request to eon for such a node which I plan to use in SkinVue for computing the dot product of the main light vector relative to a characters position. It's a no-brainer to do this and would dramatically reduce the complexity of your brilliant function graph.
The filter step 50% is created by creating a filter node of type Filter. Then right-click the filter graph in the lower panel of the function editor, and choose "Load filter", now you can picl from a variety of predefined filters. Including step 50%
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
Hmm, problems with different eco objects? The demo image (I can't upload the file, it contains copyrighted meshes) uses 2 different monster objects. The function assumes the eco object are facing south. There is no way that I know of to determine the main axis of an eco object, so I can't adapt the function to take this into account. You'll also have to make sure that "decay near foreign objects" is on; the function could run into severe trouble (division by zero errors) if an eco object would get placed exactly on the position of the center object.
The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
Quote - I'm trying to attach a zipped Vue 5 Infinite file for someone to test my function editor configuration (that's not working) but the system is not allowing me to send the file.
Any ideas?
Change the extension to JPG, then the forum software will upload it
It will show as a broken image in the post, but will still be downloadable (using right click and Save As).
The maximum size is 200Kb.
Alternatively use one of the free file hosting sites.
This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.
Attached Link: http://www.renderosity.com/messages.ez?Form.ShowMessage=2187952
There have been a couple of questions on how to have eco'ed object face a certain point in space (or run away, or maybe circle around). I've found a way to do this, building on the work by yggdrasil (see the link). The image displays the complete function that drives the orientation. Less complex than it looks, fortunately.The pen is mightier than the sword. But if you literally want to have some impact, use a typewriter
My gallery My freestuff