3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: [1] 2

Author Topic: .spg file scaner project  (Read 2904 times)

« on: October 20, 2011, 09:16:07 PM »
Don't you just want to visualize what an spg file looks like? No? Well too bad.. because this will get really boring in just a few seconds. :P

Here, I have created a utility project that will run a scan over and under an object and place points on a rigidbody.

The result is you will be able to see your collisions in any rigidbody or car as long as it fits in the scan box.

Before downloading, please note that this project will drag down your fps if your computer isn't fast enough.

Also, to improve model shading and performance, change the fish skinmesh to a cube and scale it to a small point (whatever size you want)

Works in the latest version of 3DRad.

« Last Edit: October 21, 2011, 01:40:36 AM by Rush3Fan »
« Reply #1 on: October 20, 2011, 09:27:54 PM »
See.. cube shading looks a little better. :)
« Reply #2 on: October 21, 2011, 12:30:21 AM »
meh it didnt work for me

well after 3drad starts this happens:

Problem signature:
  Problem Event Name:   BEX
  Application Name:   3DRad.exe
  Application Version:   6.50.0.0
  Application Timestamp:   4c7e29f1
  Fault Module Name:   3DRad.exe
  Fault Module Version:   6.50.0.0
  Fault Module Timestamp:   4c7e29f1
  Exception Offset:   00009ead
  Exception Code:   c0000409
  Exception Data:   00000000
  OS Version:   6.1.7600.2.0.0.256.1
  Locale ID:   1124
  Additional Information 1:   3c1a
  Additional Information 2:   3c1af2c19ae59180679973c29a10f10b
  Additional Information 3:   313e
  Additional Information 4:   313e9455feacc06658c3ecb27fa4c283

OFFLINE FOREVER.

BorekS

« Reply #3 on: October 21, 2011, 01:19:12 AM »
Quote
meh it didnt work for me

well after 3drad starts this happens:

Problem signature:
  Problem Event Name:   BEX
  Application Name:   3DRad.exe
  Application Version:   6.50.0.0

Rush wrote: Works in the latest version of 3DRad.  ;)
« Reply #4 on: October 21, 2011, 01:35:39 AM »
Oohh.. you definitely don't want to be using 6.x versions of 3DRad with this tool. The reason is PhysX has really fast and accurate scanning and ODE, well, I really have no idea, but I don't think it will have a very good time doing 64 scans in one loop. :-\

BorekS

« Reply #5 on: October 21, 2011, 01:43:42 AM »
Quote
Don't you just want to visualize what an spg file looks like?
oh, Yes, Yes and Yes! tested now, works well.
exactly what I was looking for!

thanx a lot, Rush3Fan!
« Reply #6 on: October 21, 2011, 01:47:59 AM »
No problem.

;D Glad you like it.

It's really a useless tool.. maybe just fun to see what shape the default objects are.

jestermon

« Reply #7 on: October 21, 2011, 01:56:08 AM »
Playing around with all possibilities, is what makes game making and programming great. There does not have to be a purpose other than fun, in order to make something. Playing and having fun is the key to success in any endeavor. I think this is a real great tool. Nicely crafted idea - for sure.
« Reply #8 on: October 21, 2011, 02:12:58 AM »
Quote
Playing around with all possibilities, is what makes game making and programming great. There does not have to be a purpose other than fun, in order to make something. Playing and having fun is the key to success in any endeavor. I think this is a real great tool. Nicely crafted idea - for sure.
Well hey, I probably couldn't have done it without your help.
http://www.3drad.com/forum/index.php?topic=6984.0
« Reply #9 on: October 21, 2011, 02:38:43 AM »
Really cool tool! But the .spg file looks exactly the same as the rigidbody_.x file, right?
Rocket Rumble, a 3D Rad puzzle game:
http://www.3drad.com/forum/index.php?topic=9896.0

jestermon

« Reply #10 on: October 21, 2011, 05:01:07 AM »
Really cool tool! But the .spg file looks exactly the same as the rigidbody_.x file, right?
That's why Rush called it a "useless tool", since it really serves no other purpose than to show the collision surfaces of a RB, which is actually the collision mesh...
But - Here's the fun part. You can actually show surface scans to reveal hidden objects (provided they are RB's), and to do all kinda weird game stuff.
Imagination is the key to any good gaming idea.
« Reply #11 on: October 21, 2011, 12:43:59 PM »
Quote
Really cool tool! But the .spg file looks exactly the same as the rigidbody_.x file, right?
Not always. In some cases like the Pcar for example; it's mesh looks like a car body. The  rigidbody_.x file is more of a visual mesh that really has no purpose other than displaying geometry.
« Reply #12 on: October 21, 2011, 05:49:00 PM »
Or wait I'm wrong.. rigidbody_.x is what creates the spg file. Still, cars only contain spg collision files.
« Last Edit: October 21, 2011, 06:03:00 PM by Rush3Fan »
« Reply #13 on: November 02, 2011, 03:41:07 PM »
Anyone have any idea how I can find out what the mass model for the pCar looks like?

I initially thought it would be just a center point, but wouldn't it have a shape? Possibly a box - brick shape? or could it use the spheres in the spg file? 

???
« Reply #14 on: November 03, 2011, 02:47:20 AM »
Quote
Anyone have any idea how I can find out what the mass model for the pCar looks like?

I have no 3D Rad versions with Pcar, so I can't look how look both Car and Pcar mass model. At least I tried to look at RB Boat mass model and this is interesting too.

« Last Edit: November 03, 2011, 02:48:53 AM by Alec »
Pages: [1] 2