Saturn in wheelbarrow

BZFlag related only please...please attach large images
Post Reply
User avatar
Sharpshooter
Private First Class
Private First Class
Posts: 181
Joined: Tue Jun 07, 2005 1:48 am
Location: CALIFORNIA
Contact:

Saturn in wheelbarrow

Post by Sharpshooter »

I hope it's okay with you Allied, I put saturn in your wheelbarrow :)
Heres the screenshot:
Attachments
bzfi0000.png
(548.76 KiB) Downloaded 82 times
Image
User avatar
Spazzy McGee
Sergeant Major
Sergeant Major
Posts: 1403
Joined: Mon Mar 21, 2005 4:59 pm
Location: Planet MoFo, Sheffield Division; United Kingdom

Post by Spazzy McGee »

well. that's random :)
"Life is what happens to you while you're busy making other plans." - John Lennon
User avatar
Soraya
Corporal
Corporal
Posts: 354
Joined: Sat Feb 12, 2005 9:59 pm
Location: Florida, USA

Post by Soraya »

ummm, yeah, i have to agree with Mcgee, that was random
I am a leaf on the wind.
User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post by A Meteorite »

Ummm... where did you think of that? :|

I second the randomness.
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com
Ice Wewe
Private First Class
Private First Class
Posts: 230
Joined: Sun Jan 09, 2005 10:17 pm

Post by Ice Wewe »

A Meteorite wrote: I second the randomness.
Darn, beat me to it! :evil:
User avatar
Sharpshooter
Private First Class
Private First Class
Posts: 181
Joined: Tue Jun 07, 2005 1:48 am
Location: CALIFORNIA
Contact:

Post by Sharpshooter »

I was experimenting with saturn, and I was looking in these forums for an object, then I came accross a wheelbarrow, so I thought of to put saturn in a wheelbarrow :).

I'm not exactly sure I thought of it that was though...
Image
AlliedArmour
Sergeant
Sergeant
Posts: 831
Joined: Thu Jul 14, 2005 1:29 am

Post by AlliedArmour »

Course it's ok :) . That's what they're there for.

Hmmm, a portable planet?
User avatar
I_Died_Once
Special Forces
Special Forces
Posts: 635
Joined: Sun Nov 28, 2004 5:27 pm
Location: The Dark Side
Contact:

Post by I_Died_Once »

Is that the wheelbarrow from the monopoly map/project?

Whats the latest on that project, if so ???
...This has been a recording.
User avatar
Adam_Deux
Private
Private
Posts: 4
Joined: Tue Nov 08, 2005 9:18 pm

Post by Adam_Deux »

That's pretty random if you were to ask me.
AlliedArmour
Sergeant
Sergeant
Posts: 831
Joined: Thu Jul 14, 2005 1:29 am

Post by AlliedArmour »

Yup, it's from the monopoly set. I think me1? L4M3R? is doing it.
User avatar
BIYA
Corporal
Corporal
Posts: 891
Joined: Fri Dec 03, 2004 1:43 am
Location: Fredericksburg, Virginia
Contact:

Post by BIYA »

This was so random I had to try it myself!

Sorry if I spoiled anything ;).. Me and my ghetto wheelbarrel

Being the kinda kid that reads alot about astronomy, I believe you can actually pick up, Yes you physically pick it up with your hands, that is if you were big enough...

Cause Saturn is less dense then water, it floats on it... Thats a big bathtub!
Attachments
SNW2.jpg
(24.58 KiB) Downloaded 35 times
Half Track
Private First Class
Private First Class
Posts: 36
Joined: Wed Aug 17, 2005 8:36 pm
Location: Boston UK

Interesting!

Post by Half Track »

Probably easy for you lot who have been making V2 maps for a while but I am trying to make a 'Planet Earth for my map using the earth.png on trepans site.

My problem is that instead of one image of the planet I am getting loads on my sphere.

Can anyone point out what I need to do to apply the inage just once to the sphere?

I know this is probably very simple for those on here with the experience, but I am still learning :)

The relevent bits of the map are below:

material
name planet
addtexture http://trepan.bzflag.bz/planets/earth.png
end

sphere
name example_sphere
matref planet
divisions 10 # number of subdivisions(The more the smoother )
flatshading # flat shading (smooth is default)
position -55.0 0.0 10.0
size 9 9 9
radius 9 # sets all size values to this value
rotation 0.0
shift 0 0 0 # (repeatable)
scale 1 1 1 # (repeatable)
shear 0 0 0 # (repeatable)
#spin angle nx ny nz # (repeatable)
#phydrv example_phydrv # assign a physics driver
smoothbounce # ricochets use normals
end

Any help appreciated, thanks in advance.
User avatar
RPG
Lieutenant, Junior Grade
Lieutenant, Junior Grade
Posts: 2015
Joined: Fri Sep 17, 2004 2:37 am
Location: Chicago, Illinois
Contact:

Post by RPG »

Half Track
You need to do UV mapping. A 3D modeler, such as Wings3D, is what I recommend for something like that (although some people complain about it's UV interface).
User avatar
BIYA
Corporal
Corporal
Posts: 891
Joined: Fri Dec 03, 2004 1:43 am
Location: Fredericksburg, Virginia
Contact:

Post by BIYA »

Yes wings UV mapping is kinda iffy, but its okay :)
User avatar
Teppic
Private First Class
Private First Class
Posts: 576
Joined: Mon Mar 07, 2005 10:00 pm
Location: The North Block

Post by Teppic »

BIYA wrote:Yes wings UV mapping is kinda iffy, but its okay :)
As someone who cut thier teeth using 3DS Max even Blender's UVW tools are are prohibitivly antiquated. Wings has UV tools too?
AlliedArmour
Sergeant
Sergeant
Posts: 831
Joined: Thu Jul 14, 2005 1:29 am

Post by AlliedArmour »

Well, gsL's UV tools are excellent - have a shot at it, you can get converters back to OBJ I think.
trepan
Dev Wizard
Dev Wizard
Posts: 704
Joined: Fri Feb 21, 2003 7:50 pm

Post by trepan »

HalfTrack:
'texsize 1 1' would fix your UVs if using a sphere primitive.
I'd also advise you to get rid of the 'flatshading' parameter.

Here's some code that might help:

Code: Select all

textureMatrix 
  # for making it spin
  name earth
  shift -0.025 0
end

material
  name earth
  texture http://trepan.bzflag.bz/planets/earth.png
  texmat earth
  specular 0.25 0.25 0.5
  shininess 64
end

define earth
  # visible earth  (high triangle count)
  sphere
    passable       # don't want the physics
    divisions 25
    pos 0 0 0
    size 6.3785 6.3785 6.3569
    matref earth
    texsize 1 1
  end
  # physical earth (lower triangle count)
  sphere
    color 0 0 0 0  # transparent
    divisions 10
    pos 0 0 0
    size 6.3785 6.3785 6.3569
    smoothbounce   # fake a smooth surface for ricochets
  end 
enddef

group earth
  spin 23.45 1 0 0  # tilt it
  shift 0 0 20
end
Half Track
Private First Class
Private First Class
Posts: 36
Joined: Wed Aug 17, 2005 8:36 pm
Location: Boston UK

Thanks Trepan!!

Post by Half Track »

The texsize 1 1 worked a treat!! Also thanks for having the image on your site.

The updated code for the globe is below:

material
name planet
addtexture http://trepan.bzflag.bz/planets/earth.png
end

sphere
name globe
matref planet
texsize 1 1
addtexture http://trepan.bzflag.bz/planets/earth.png
divisions 10 # number of subdivisions(The more the smoother )
#flatshading # flat shading (smooth is default)
position -55.0 0.0 10.0
size 9 9 9
radius 9 # sets all size values to this value
rotation 0.0
shift 0 0 0 # (repeatable)
scale 1 1 1 # (repeatable)
shear 0 0 0 # (repeatable)
#spin angle nx ny nz # (repeatable)
#phydrv example_phydrv # assign a physics driver
smoothbounce # ricochets use normals
end

It is nice to know you can do things simply!

Thanks also to everyone for thier advice, being new to version 2 maps I certainly need all the help I can get.

If I could find the attachment button I would add a picture of the Globe.
Hope to see you all on Trackworld sometime.[/img]
Half Track
Private First Class
Private First Class
Posts: 36
Joined: Wed Aug 17, 2005 8:36 pm
Location: Boston UK

Globe image

Post by Half Track »

Ok so you can't do an attachment in 'Quick reply'.

Here it is if you want a look.
Attachments
A Globe
A Globe
globe.jpg (37.79 KiB) Viewed 1422 times
AlliedArmour
Sergeant
Sergeant
Posts: 831
Joined: Thu Jul 14, 2005 1:29 am

Post by AlliedArmour »

Heyy! That's good HT!
Half Track
Private First Class
Private First Class
Posts: 36
Joined: Wed Aug 17, 2005 8:36 pm
Location: Boston UK

Now what WOULD be cool....

Post by Half Track »

.....is if I couls make it spin!!!!????

Any ideas?
AlliedArmour
Sergeant
Sergeant
Posts: 831
Joined: Thu Jul 14, 2005 1:29 am

Post by AlliedArmour »

You could spin the texture, that should give the correct idea.
trepan
Dev Wizard
Dev Wizard
Posts: 704
Joined: Fri Feb 21, 2003 7:50 pm

Post by trepan »

HalfTrack:
The example I provided does spin.
It's also fairly accurate w.r.t. the tilt
and is properly oblongated.

I would probably also use the noradar
and noshadow keywords on one of
the two spheres (which will depend
on your target audience).
Half Track
Private First Class
Private First Class
Posts: 36
Joined: Wed Aug 17, 2005 8:36 pm
Location: Boston UK

Thanks again Trapan

Post by Half Track »

Thanks Trepan

I just found your earlier post re spinning worlds, pity I didn't find it a few hours ago! LOL! Still I have got it working now!!

I hope you don't mind me sharing your code again here for the benefit of anybody wanting to do something similar.

texturematrix
name spin
shift -0.02 0
end

sphere
divisions 10
texsize 1 1
radius 20 20 20
shift 0 0 30
spin 23.5 1 0 0
texture http://trepan.bzflag.bz/earth.png
texmat spin
end

You are one cool guy! Thanks.
Post Reply