TiTaNiuM sAMuRai Posted August 13, 2002 Share Posted August 13, 2002 Would adding code to my custom PIO's for doors and windows, to draw 3d component elements, slow down the script execution in 2d views (when you don't see any of the 3d stuff)? Quote Link to comment
Matthew Giampapa Posted August 15, 2002 Share Posted August 15, 2002 It's not an official answer since my VS skills haven't ranged into that area. This would be a better question for vs_support@nemtschek.net. Most PIOs I have seen always draw both the 2D and 3D environments in their main loop. So unless you find a way to exclude the 3D code from being executed in a top/plan view, then your additional 3D code will slow down drawing a bit. I would put in some code and measure the amount of time it take with and without it using GetTickCount(). Matthew GiampapaNNA Technical Support Quote Link to comment
arthur&l?on Posted August 15, 2002 Share Posted August 15, 2002 Hello if you add a 'checkbox' parameter with 'Only_2d' as label or anything and your 3d definition inside the code is within a subroutine called only if your checkbox is false(...)If (POnly_2d = False) Then Subroutine_3d;(...)I think it works Francesco Quote Link to comment
TiTaNiuM sAMuRai Posted August 15, 2002 Author Share Posted August 15, 2002 That's a great idea! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.