Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3509 Members - Latest Member: lioneltenel

27. May 2012, 03:19:35 am
Xith3D CommunityGeneral CategoryFeature Requests & Brilliant Ideas (Moderators: Marvin Fröhlich, 'n ddrylliog)Small things which improves your everyday gamedev life :)
Pages: [1]
Print
Author Topic: Small things which improves your everyday gamedev life :)  (Read 1959 times)
'n ddrylliog
Moderator
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« on: 15. January 2007, 05:05:24 pm »

In the "Brilliant Ideas" series : watch the org.xith3d.utility package! Thanks to "Marvellous Marvin"'s ScheduledOperations, it's growing, these days, ex : "SmoothPlaceableFocuser" let the camera follow an object implementing the "Placeable" interface, "EightDirectionsMovement" let the user control a "Placeable" object with the arrow keys, "LowerFloatLimiter" and "UpperFloatLimiter" smoothly limit a float value to certain tresholds, "BeanUtil" permit you to set/get values of an object using it's set/get methods (Java Reflection API), "MemberLink" let you synchronize two variables, i.e. the first one is always equals to the second one.

And more to come... (note : feel free to add your owns).
Logged
hawkwind
Getting respectable
***
Offline Offline

Posts: 363



View Profile Email
« Reply #1 on: 16. January 2007, 03:48:18 am »

neat...

can you think of some way to use this camera pointing ability along with something like the movement through the scene in the BSPLoader??  It would be neat if I were able to point/select an object, have the camera focus on it, and then move to it....
Logged
'n ddrylliog
Moderator
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #2 on: 16. January 2007, 10:13:45 am »

can you think of some way to use this camera pointing ability along with something like the movement through the scene in the BSPLoader??  It would be neat if I were able to point/select an object, have the camera focus on it, and then move to it....
In the fact the SmoothPlaceableFocuser also follows the object. In fact the camera is always above the object and look down to it.
But I'm not sure what you mean : if you point/select an object, the camera already focus on it (because you must see it to be able to select it)... and by "move to it" you mean an automatic move, or you move with the arrow-keys ?
Logged
hawkwind
Getting respectable
***
Offline Offline

Posts: 363



View Profile Email
« Reply #3 on: 17. January 2007, 01:43:11 am »

I was thinking of "way points".  Suppose I have a book for the player to examine.  I can use you Placeable to target what the camera is looking at, it would be neat if I could then have the camera move towards the Placeable object.  Mimicking a player walking over to look at the book for example.
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #4 on: 17. January 2007, 07:17:21 am »

I was thinking of "way points".  Suppose I have a book for the player to examine.  I can use you Placeable to target what the camera is looking at, it would be neat if I could then have the camera move towards the Placeable object.  Mimicking a player walking over to look at the book for example.

I guess, you are thinking about a camera flight (have a look at Xith's CameraFlight class), that should be built dynamically, are you? Maybe it could be smoothed through a Beizier curve.
Marvin
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic