Can't help much with just a vague description - Upload a screenshot of the toolbars you have, as well as the model you made.
Latest posts made by Wacov
-
RE: Sketchy Physics 3.1 Won't Work.
-
RE: [Video] FPS Test
Testing some enemy animation (that sphere is screwed...)
[flash=425,344:huv4z694]http://www.youtube.com/v/QjH7xwywxSQ?fs=1&hl=en_GB[/flash:huv4z694]
The walking animation on the bugs was done frame-by-frame, not using the physics engine. I'm planning on adding sounds, attack animations and some kind of pathfinding / swarm AI to turn these into proper enemies for an FPS game.
-
RE: [Video] FPS Test
Thanks guys
Chris, it uses embedded sound.
Atm, I'm trying to expand the map without losing too much detail. At this stage, it still doesn't lag noticeably:
-
[Video] FPS Test
A short recording of something I'm working on (with sound!). Lag is from FRAPS, not the model itself - that's why I was happy playing with shadows on
[flash=425,344:12q74p4f]http://www.youtube.com/v/_0by7LDNDXw?hl=en&fs=1[/flash:12q74p4f] -
RE: Atmospheric drag
I'd use those commands in the onstart event. I reckon this code should achieve what you're after:
onstart{ setLinearDamping(0.0) setAngularDamping([0.0,0.0,0.0]) }
Edited, didn't try it originally
-
RE: Sketchy Physics 3 not working
@mitcorb said:
SP forum/blog usually managed by Wacov.
Well, that's news to me
I have the same 'problem', but it's no real issue, and just caused by redundant code (the option shouldn't even be in the context menu). Use the UI, opened from the button on the SP toolbar to change joint settings.
-
RE: The new HUD system - Guide
@thomthom said:
I ended up making a wrapper that drew a line segment simulating a point.
Nice idea, mind if I steal it?
Yup, I'd used draw_points for the 3D side of it, but forgot to change the 2D code, so that can only draw single pixels. I was assuming the line_width setting would affect points too, but apparently not. Transparency would be really helpful, especially for this system (no-one wants a mini map that blocks the screen...), and I'd personally like the ability to load images to the screen - or even just be able to manipulate watermarks. I guess that doesn't fit in with SU's primary role though, right?
-
RE: The new HUD system - Guide
@thomthom said:
Text is drawn in the same colour as the current edge style. No font options.
draw_points blocks the next drawing operation (expects other draw_points) and should be the last in the draw stackI could never even get text to work
I had no idea about that points problem, thanks for the heads-up. Points don't seem to be that useful anyway, in 3D they aren't even covered by model geometry. -
The new HUD system - Guide
This is a brief outline of what you can do with the new HUD system, included in SP 3.2.
The commands:
#drawing in 2d, to the screen @simulation.draw2D(type, points, color, size, stipple) #drawing in 3d model space @simulation.draw3D(type, points, color, size, stipple)
The different values you can use for 'type' are:
- "line": Draws a sequence of connected lines at the points specified (n-1 lines are drawn)
- "loop": Draws a sequence of connected lines at the points specified, looping back to the starting point automatically (n lines are drawn)
- "point": Draws points at the points specified (n points are drawn)
- "triangle": Draws filled triangles, one with each triplet of points specified (n/3 triangles are drawn)
- "quad": Draws filled quadrilaterals, one with each four points specified (n/4 quads are drawn)
- "polygon": Draws a single filled, convex polygon, using all points specified
'points' must be an array of points, which can be Geom::Point3d objects for both 3D and 2D operations (Z axis is ignored for 2D), or, in the case of 2D, an array of two values.
E.g:p3d = Geom;;Point3d.new(0,100,50) #3D p2d = Geom;;Point3d.new(0,100,0) #2D, last value (Z) is not used in drawing p2d2 = [0,100] #2D
'color' can be any valid SketchUp color value (see http://code.google.com/apis/sketchup/docs/ourdoc/color.html#introduction), and controls the color used for drawing with that particular draw call. Default value is "Black"
'size' must be an integer value, and controls the width of lines (when drawing lines), and the size of points (in 3D). Default value is 1
'stipple' controls the drawing style of lines. Valid strings are: ".", "-", "_", "-.-" and "", which produces a solid line. Default value is ""
Hope that helps If you want to see this in use (with lines), see: http://sketchup.google.com/3dwarehouse/details?mid=fa89a18ff1258124d595b43ed271a30e&prevstart=0
If you're familiar with the SketchUp draw methods, you'll know there's plenty of functionality that hasn't been exposed yet (stuff like styling points, and a couple more drawing methods), but all the basic elements are there for you to use. One thing of note is that drawing filled shapes in 3D comes out very wierd, but as far as I know, there's nothing I can do about it
-
RE: Old and New
Cool! The glass on the clock looks kinda wierd though. Maybe you could give it thickness to create refraction? Dunno if that's possible in podium