Search found 98 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 10
Search found 98 matches Page 1 of 10
by Happenstance
Tue Dec 10, 2019 9:31 pm
Forum: TorqueScript
Topic: Memory allocation question
Replies: 2
Views: 28
In your examples '.type' & '.color' are known as 'dynamic fields' in the world of Torque. Internally each object has a SimFieldDictionary (basically a hashmap) that stores a key:value pair for each 'dynamic field' the object has. When you add a new dynamic field (e.g. %obj.myNewVar = 15) the object ...
by Happenstance
Tue Dec 10, 2019 7:20 pm
Forum: Blogs
Topic: Work Blog - JeffR
Replies: 450
Views: 137588
shaders are compiled & cached on-use resulting in hitching with each unique material In fairness, we do suffer from the same issue at present, it's just that the shadergen feature(aka prefab snippets of shadercode) combo system cuts down on duplicates a bit. (I'd say a lot, but depending on just ho...
by Happenstance
Tue Dec 10, 2019 1:26 pm
Forum: Rendering
Topic: [SOLVED]Changing Skin Client Side Only
Replies: 6
Views: 101
Glad you got it working!
by Happenstance
Tue Dec 10, 2019 12:52 am
Forum: Rendering
Topic: [SOLVED]Changing Skin Client Side Only
Replies: 6
Views: 101
setSkin/setSkinName are indeed networked but the actual retexturing work is done clientside by the reSkin() method. The only reason calling setSkin/setSkinName applies the change to all clients is because those functions set a netmask (SkinMask) which sends the mSkinNameHandle string across the wire...
by Happenstance
Mon Dec 09, 2019 10:07 pm
Forum: Blogs
Topic: Work Blog - JeffR
Replies: 450
Views: 137588
Lots of fun stuff on the horizon. Will be good to finally see all of the pieces come together. And my little blurb on Godot since I spent some time evaluating it this year: 3.0 was supposed to be the big "this challenges Unity" release but I found that not to be the case. It does a lot of things rea...
by Happenstance
Sun Dec 01, 2019 5:22 pm
Forum: TorqueScript
Topic: gotoWebPage broke?
Replies: 9
Views: 492
The code is correct Az (at least on Windows, poor Linux...) but if the registry key is missing for some reason it'll fail which sounds like what's happening in Hodo's case. There are some other registry keys we can check as well (the thread I linked lists those). Another potential alternative would ...
by Happenstance
Sat Nov 30, 2019 6:01 pm
Forum: TorqueScript
Topic: gotoWebPage broke?
Replies: 9
Views: 492
It's an issue with their OS rather than your app/Torque. Platform::openWebBrower() will fail on Windows machines if it can't find the registry key that points to the user's default web browser. More info and some possible solutions: https://social.msdn.microsoft.com/Forums/windows/en-US/aa3a1535-aa8...
by Happenstance
Sat Nov 30, 2019 5:48 pm
Forum: Beginner
Topic: Can some give a quick write up on GuiHorizontalSizing/GuiVerticalSizing
Replies: 3
Views: 490
Center Centers the object in it's container. Only the position is changed, not the extent (width/height) of the GUI control. Right/Left/Top/Bottom Object will change position (not extent) when its container object is resized. This allows you to keep a control positioned at a specific position/offse...
by Happenstance
Sun Nov 10, 2019 7:46 pm
Forum: C++
Topic: Useful Tip: Kill Process Before Compiling
Replies: 1
Views: 778
I might be the only one that finds this useful but I'm constantly forgetting to close Torque before recompiling which of course results in VS complaining that it can't access the exe. This bit can be added as a Pre-Build Event and will automatically terminate the exe before building. taskkill /f /fi...
by Happenstance
Tue Nov 05, 2019 3:56 pm
Forum: General
Topic: This thing uses T3d
Replies: 13
Views: 1730
I believe they're making this claim based off of a post Timmy made over a year ago in which he talked about writing a new gfx layer for 4.2 that would rely on The Forge: https://forums.torque3d.org/viewtopic.php?t=1386#p10430 I doubt we'll see much progress on that any time soon and as of now T3D do...
  • 1
  • 2
  • 3
  • 4
  • 5
  • 10
Search found 98 matches Page 1 of 10