Plugin Cafe Homepage
Forum Home Forum Home > Plugin Cafe > SDK Help
  New Posts New Posts
  FAQ FAQ  Forum Search   Register Register  Login Login

ViewportHUD

 Post Reply Post Reply
Author
Message
Remotion View Drop Down
Member
Member


Joined: 2002 Nov 12
Location: Germany
Online Status: Offline
Posts: 72
Post Options Post Options   Quote Remotion Quote  Post ReplyReply Direct Link To This Post Topic: ViewportHUD
    Posted: 2004 Aug 14 at 6:36am

User Information:

Cinema 4D Version:   9.0 
Platform:   Windows  ;   
Language(s):     C++  ;  

---------

Hi,
the new HUD system is very nice.
Unfortunately I can't make it work in my plugins.
I have tried to use it inside TagData::Draw, but there are nothing visible.

How to use ViewportHUD and new functions from BaseDraw, especially DrawTexture(...) and LineStrip(...).

LineStrip(...) seems to be some kind of fast Line2D(...) or Line3D(...)?

regards,
Remotion

Back to Top
Mikael Sterner View Drop Down
Member
Member


Joined: 2002 Oct 29
Location: Sweden
Online Status: Offline
Posts: 1512
Post Options Post Options   Quote Mikael Sterner Quote  Post ReplyReply Direct Link To This Post Posted: 2004 Aug 18 at 12:59am

Your guess is as good as mine at this point; I haven't played around with the new functions very much. I think you need to draw HUD-like features in the highlight layer. I'll see if I can get it work myself and get back to you.

Hopefully I'm more up-to-date with the new features when the real application is released; I will have to be anyway to document it all.

Mikael Sterner
Developer Support
Back to Top
Remotion View Drop Down
Member
Member


Joined: 2002 Nov 12
Location: Germany
Online Status: Offline
Posts: 72
Post Options Post Options   Quote Remotion Quote  Post ReplyReply Direct Link To This Post Posted: 2004 Aug 20 at 3:21am

Thank Mikael, this was helpful.

DrawTexture works now, but LineStrip not.

Remotion

Back to Top
darf View Drop Down
Member
Member


Joined: 2002 Nov 03
Location: United States
Online Status: Offline
Posts: 172
Post Options Post Options   Quote darf Quote  Post ReplyReply Direct Link To This Post Posted: 2004 Aug 21 at 10:45am
Will the new SDK support frameless or borderless windows that support UserAreas?

darf
Back to Top
Mikael Sterner View Drop Down
Member
Member


Joined: 2002 Oct 29
Location: Sweden
Online Status: Offline
Posts: 1512
Post Options Post Options   Quote Mikael Sterner Quote  Post ReplyReply Direct Link To This Post Posted: 2004 Aug 23 at 9:37am
Not that I've seen. In particular, the HUD layer doesn't support user areas.
Mikael Sterner
Developer Support
Back to Top
darf View Drop Down
Member
Member


Joined: 2002 Nov 03
Location: United States
Online Status: Offline
Posts: 172
Post Options Post Options   Quote darf Quote  Post ReplyReply Direct Link To This Post Posted: 2004 Aug 29 at 7:10am
No raw OGL context?

darf
Back to Top
Mikael Sterner View Drop Down
Member
Member


Joined: 2002 Oct 29
Location: Sweden
Online Status: Offline
Posts: 1512
Post Options Post Options   Quote Mikael Sterner Quote  Post ReplyReply Direct Link To This Post Posted: 2004 Aug 29 at 2:44pm

No. (I guess it would be pretty hard to do that without any cross-platform or software mode issues, just like we can't get a HWND to the C4D window.)

Mikael Sterner
Developer Support
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.61 [Free Express Edition]
Copyright ©2001-2009 Web Wiz

This page was generated in 0.094 seconds.