|
CameraFinder (with View to Cam)
About Truespace Archives
These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.
They are retained here for archive purposes only.
CameraFinder (with View to Cam) // The Garage
Post by stan // Aug 31, 2007, 6:29pm
stan
Total Posts: 1240
|
here is a CameraFinder tool, complete with View to Cam :D
it gets all cameras in a scene into a list..you can select from the list or create a new View to Cam..
there is the same error message as in Scene Manager II when you lose focus on the list, usually when selecting twice without getting a camera from the list again..
.
you will also not be able to select from list and change cameras if you lose focus of the view window..just click on the window [titlebar] if it happens
bring into LE scene space , then run install..that's it :)
enjoy Gord :cool: |
Post by Steinie // Sep 1, 2007, 2:43am
Steinie
Total Posts: 3667
|
This one is going to come in real handy!
Thanks Gord! |
Post by TheWickedWitchOfTheWeb // Sep 1, 2007, 8:44am
TheWickedWitchOfTheWeb
Total Posts: 858
|
This is a much needed feature so I'm very excited to see it here, thank you loads but I'm doing something wrong. Everytime I use it I get the following error message:
Source object:
Error: Microsoft JScript runtime error
Description:Invalid procedure call or argument
Error Code: 0x800a0005 - (null)
Line: 8, Char: 1
Script text: clipfar = Node.Value('/D3DView/EyeCamera_{2C152F81-45A2-4035-8896-949D60C8A7A}'. 'ClippingFar')
I click on the OK button to get rid of the error diag box and it creates a camera in the middle of the scene at 0.004, 0.173, -0.000
Thanks in advance for any help |
Post by trueBlue // Sep 1, 2007, 8:55am
trueBlue
Total Posts: 1761
|
@ Stan: Dele created something simular here:
http://forums1.caligari.com/truespace/showpost.php?p=44743&postcount=1 (http://forums1.caligari.com/truespace/showpost.php?p=44743&postcount=1)
Look and see how he calls the EyeCam. |
Post by stan // Sep 1, 2007, 10:14am
stan
Total Posts: 1240
|
trueblue the script of Dele's is similar to mine..either way should be fine :) it works on my machine..
TheWickedWitchOfTheWeb ..I know the error but not sure why you are getting it..when the camera shows up and no cordinates are passed to it, it stays ar 0,0,0 ..not sure why it won't work for you at the moment :confused:
is everyone getting that error? |
Post by trueBlue // Sep 1, 2007, 10:48am
trueBlue
Total Posts: 1761
|
I am getting errors too.
The difference is you are using the WinID and that is what is causing at least one of the problems.
This is from Dele's script:
Cam = Node.SubObject("/D3DView", 0);
// Get Location and Rotation of current view
ViewTX = Node.Value("/D3DView/" + Cam, "tx");
ViewTY = Node.Value("/D3DView/" + Cam, "ty");
ViewTZ = Node.Value("/D3DView/" + Cam, "tz");
Note: In 4View the is 4 different Cameras and WinIDs.
I wonder if %WIN_ID% would work?
HTH |
Post by stan // Sep 1, 2007, 11:16am
stan
Total Posts: 1240
|
trueblue, I will try Dele's method..my method should work too, but because every new view creates an eyecamera, maybe my win id is different..both ways won't work on 4 view ..unless I create a view index you can change, that might ..
thanks, will get it so it at least works on the main view for everyone..
Gord :cool: |
Post by stan // Sep 1, 2007, 2:49pm
stan
Total Posts: 1240
|
made some changes to the download,,it should work for everyone now..added a four view setup. for now you must press 'get list' after making a change to the view setting, to register the chosen view |
Post by stan // Sep 1, 2007, 4:32pm
stan
Total Posts: 1240
|
had to fix a problem with orhto cameras, but now it should have all those glitches worked out...now people using four view will find it works..probably renaming them to back side etc will help insread of ViewtoCam, 1..maybe I can figure out a way to make naming views automatic..
Gord :cool: |
Post by stan // Sep 2, 2007, 10:45am
stan
Total Posts: 1240
|
got a version that names the cameras ready..only top and back didn't want to have names..at least they have what view they belong to..I tried for hours to solve why they won't accept view names but gave up..:confused: anyway most views get named..:)
hope it works for everyone now..haven't had any comments one way or anther..new version in first post
Gord :cool: |
Post by 3dvisuals dude // Sep 2, 2007, 10:49am
3dvisuals dude
Total Posts: 1703
|
got a version that names the cameras ready..only top and back didn't want to have names..at least they have what view they belong to..I tried for hours to solve why they won't accept view names but gave up..:confused: anyway most views get named..:)
hope it works for everyone now..haven't had any comments one way or anther..new version in first post
Gord :cool:
Thanks Gord!
You're spinning out some very nice stuff really fast here, between you and Délé I can hardly keep up with all these new developments!
Great work! Thanks!
- Mark / 3dvisuals dude |
Post by TheWickedWitchOfTheWeb // Sep 2, 2007, 1:34pm
TheWickedWitchOfTheWeb
Total Posts: 858
|
OK, I'm obviously doing something wrong! I've downloaded and installed your latest version but I haven't got a clue what I'm doing. I've managed to pop a camera into the slap bang middle but that's not right!
I work in 4 view, I adjust my perspective view to how I want it, now, what combination of things do I do with your plugin to make a camera at that viewpoint? I've had a fiddle and pressed things but managed to crash it!
Any help to make me feel less stupid would be appreciated! Thanks. |
Post by stan // Sep 2, 2007, 2:26pm
stan
Total Posts: 1240
|
WWW, I will try iy in four view, there might be some thing I had not forseen..
only thing I can think off hand; you must delete older versions from the scene or it will unpack the first one..
I want it to work for you .,..
Gord :cool: |
Post by stan // Sep 2, 2007, 2:54pm
stan
Total Posts: 1240
|
this is the view arrangement in 4 view [it works for me in 4 view :confused: ] |
Post by TheWickedWitchOfTheWeb // Sep 2, 2007, 3:11pm
TheWickedWitchOfTheWeb
Total Posts: 858
|
Stan, sorry to be a pain but can you give me a step by step on how to make it work because I haven't a clue. Logic dictates that you click the view to cam button and that's it but obvioulsy not as that just freezes the programme - please give me an idiots guide to using and I really want this function!
Thanks loads and sorry to be a nuisance
PS - how do I uninstall the previous version? |
Post by stan // Sep 2, 2007, 3:45pm
stan
Total Posts: 1240
|
WWW, try this layout..I put all new windows for the views..main is now top left; v2 top right; v3 bottom right; v4 bottom left
Norm, .rsl files won't upload |
Post by TheWickedWitchOfTheWeb // Sep 2, 2007, 4:06pm
TheWickedWitchOfTheWeb
Total Posts: 858
|
eh? I'm using standard 4view layout, just like your screengrab. It's instructions on using the plugin I need. I know how to install it (you taught me that already!) - then what do I do? There's three buttons and a dropdown list and I have no idea what to do with any of them. |
Post by stan // Sep 2, 2007, 5:02pm
stan
Total Posts: 1240
|
the layout was because if the layout is the problem we could then rule that out..
the buttons
'get list' is the basic button for the lust generation..it is also needed to update which view button you are using before trying to view to cam..
'select' is for selecting from the list once its generated..it should ser the view to the selected one..
'view to cam' button is for gererating camera views ;;you must do 'get list' before at least once ..then once for every v choice..
click a view choice, say..'V2 on' , then 'get list' to register the choice..then you can make as many view to can's as you want in that v window.. |
Post by Burnart // Sep 3, 2007, 1:36pm
Burnart
Total Posts: 839
|
Lust generation? A machine for sexual excitement or young people today?
(ok I know its a typo but I just couldn't help myself :D ) |
Post by Norm // Sep 4, 2007, 5:57am
Norm
Total Posts: 862
|
Norm, .rsl files won't upload
They should now :) I put a man on it :) |
Post by stan // Sep 4, 2007, 6:10am
stan
Total Posts: 1240
|
thanks Norm ;) |
Post by TheWickedWitchOfTheWeb // Sep 9, 2007, 6:21am
TheWickedWitchOfTheWeb
Total Posts: 858
|
OK, got it! WOO! Thanky thanky Stan. In the default 4 view layout I have to select the 'V 4 on' button to get it to work but work it does. This is one function that has been desperately needed for, well, ever, so I'm glad that it's still available via plugin with the new version.
Thanks again Stan. With this and fixing the rotate function you should be on the payroll! |
Post by stan // Sep 9, 2007, 6:31am
stan
Total Posts: 1240
|
your welcome WWW.. you should need all 4 v buttons depending on which view you want to view to cam ..choosing the proper v button is important..your main should be bottom left ..then counter clockwize so v4 is the top left..like the pic I posted with the standard view arrangement with 4view in relation to the v buttons..Gord :cool: |
Post by TheWickedWitchOfTheWeb // Sep 9, 2007, 7:00am
TheWickedWitchOfTheWeb
Total Posts: 858
|
I'm using the default layout, which is just like the screen grab you show, only what you have listed as V3 is V4 for me.
I don't know why but it works! :-) |
|