file Blender marble .dts issue

  • whirligig
  • whirligig's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 444
  • Thank you received: 261
08 Aug 2013 18:35 #1
When I create a marble shape in Blender and export to .dts (well, more accurately Jeff does it for me), the marble has no shadow in-game. Anyone know how to set this up correctly?

Please Log in or Create an account to join the conversation.

  • HiGuy
  • HiGuy's Avatar
  • Offline
  • Lead Developer
  • Lead Developer
  • PQ Developer Emeritus
  • Posts: 1334
  • Thank you received: 605
09 Aug 2013 00:22 #2
One thing I've found is that you have to export the shape as Triangle Strips in the exporter options for shadows to appear. (Edit: Tested and works with Triangle Strips)

This signature is real code
Code:
function clientcmd12dothepq() { commandToClient(LocalClientConnection, '34onthedancefloor'); }

Please Log in or Create an account to join the conversation.

  • whirligig
  • whirligig's Avatar Topic Author
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Posts: 444
  • Thank you received: 261
09 Aug 2013 04:44 #3
Thanks! (Lock if desired.)

Please Log in or Create an account to join the conversation.

  • Posts: 33
  • Thank you received: 2
14 Aug 2015 21:17 - 14 Aug 2015 23:40 #4
[strike]I know this is a 2-year bump, but I have this problem too and

export[ing] the shape as Triangle Strips

[strike]doesn't seem to work for me. I am using a UVsphere shape. Transparency in the exporter options is not selected. The shadow in-game doesn't look like the shadow of MBG's ball-superball.dts (a solid circle). Instead, the exported dts only casts shadows of some edges of the sphere, and one can say there is no shadow at all. What setting needs to be set so that the shadow can actually be seen?[/strike]

Edit: Alright, tested some settings and found out that LOSCollision-1 (under "Detail Levels") is actually not needed! Not sure where I read that it was required. Anyways the shape I exported now has a shadow. Collision doesn't seem to be any different. The post above by HiGuy still stands however- the setting "Triangle Strips" still needs to be set for the shadow to appear.
Last edit: 14 Aug 2015 23:40 by Rocket.

Please Log in or Create an account to join the conversation.

Moderators: Doomblah
Time to create page: 0.914 seconds