Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / How to put 3D in a Windows Form

Author
Message
Niels Henriksen
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 31st Jan 2007 12:57
Hi

Is it possible to have a 3D screen in an area of a Windows Form? Im planning a project where that could be VERY good (and my customers happy)

--
Niels Henriksen
Working on a RPG right now
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 31st Jan 2007 13:41
DGDK.NET contains a WinForms sample that demonstrates this behaviour. But if you're using DGDK (C++), you need to use the dbOverrideHWND function.

Note, overriding a window does not take effect until you call SetDisplayMode again after the call to OverrideHWND.

Paul.


"This is Big Brother, could Ian please remove his head from the oven, thank you!"
Niels Henriksen
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 31st Jan 2007 13:50
Oh... nice

Thanks

--
Niels Henriksen
Working on a RPG right now
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 31st Jan 2007 15:29
we really need a dgdk.net forum

Michael Moore needs film making lessons from Aaron Russo: America: Freedom To Fascism
Miguel Melo
19
Years of Service
User Offline
Joined: 8th Aug 2005
Location:
Posted: 1st Feb 2007 00:38
Quote: "we really need a dgdk.net forum"


I still don't think so...

I have vague plans for World Domination
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 1st Feb 2007 00:55 Edited at: 1st Feb 2007 00:56
Quote: "I still don't think so..."


its still being done

Michael Moore needs this film:Aaron Russo's America: Freedom To Fascism
RonPaul'08
thierry st malo
19
Years of Service
User Offline
Joined: 7th Nov 2005
Location: Saint-Malo, France
Posted: 1st Feb 2007 08:14
As I have not seen such a sample in my own copy of DGDK.NET, am I to assume that a new version is available, and if so how can I get it?
Thanks,
Thierry
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 1st Feb 2007 08:56
Quote: "As I have not seen such a sample in my own copy of DGDK.NET"


What exactly do you mean by this. DGDK.NET contains a sample called Winforms Showcase. This demonstrates exactly how to place the 3D viewport onto a WinForm using C#. TGC have not released the 1.0.7.0 update yet, but this version contains both VB.NET and C# Winform showcase examples.

Paul.


"This is Big Brother, could Ian please remove his head from the oven, thank you!"
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 1st Feb 2007 12:04
speaking of which, didnt you send up your update like a week ago?

Michael Moore needs this film:Aaron Russo's America: Freedom To Fascism
RonPaul'08
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 1st Feb 2007 12:16
Before, Rich was responsible for placing updated files onto the Order pages, but since he's moved on, Mike is waiting for information from Rich in the procedure for updating files.

Paul.


"This is Big Brother, could Ian please remove his head from the oven, thank you!"
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 1st Feb 2007 14:24
ah, right

Michael Moore needs this film:Aaron Russo's America: Freedom To Fascism
RonPaul'08
Miguel Melo
19
Years of Service
User Offline
Joined: 8th Aug 2005
Location:
Posted: 1st Feb 2007 22:14
Quote: "its still being done"


So, it's a done deal then... oh, well.

I have vague plans for World Domination
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 2nd Feb 2007 01:57
at least thats what Rich said, iirc

Michael Moore needs this film:Aaron Russo's America: Freedom To Fascism
RonPaul'08
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 2nd Feb 2007 02:08
Now I'm not sure because I don't know if Rich is still going to manage these aspects. I'll Speak with Mike and Rich about this next week, just to see exactly where this is heading.

Whatever the outcome, it'll maintain some degree of co-hierance.

Paul.


"This is Big Brother, could Ian please remove his head from the oven, thank you!"
frstPrsn
18
Years of Service
User Offline
Joined: 13th Apr 2006
Location:
Posted: 2nd Feb 2007 19:33
WinForm Showcase? what i have in my samples is image showcase, is that it?
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 2nd Feb 2007 20:54
I'm awfully confused by this. This is DGDK.(NET) right? Version 1.0.6.0?

There should be a C# sample called Winforms Showcase. It's a demo that shows a purple or white double doughnut shape floating above a blue and white coloured plane. It's the only sample that demonstrates using an overriden Window under .NET.

Paul.


"This is Big Brother, could Ian please remove his head from the oven, thank you!"
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 2nd Feb 2007 21:18
is it in the unreleased update?

Michael Moore needs this film:Aaron Russo's America: Freedom To Fascism
RonPaul'08
Niels Henriksen
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 2nd Feb 2007 23:05
I have the winform in my samples.

--
Niels Henriksen
Working on a RPG right now
frstPrsn
18
Years of Service
User Offline
Joined: 13th Apr 2006
Location:
Posted: 5th Feb 2007 20:38 Edited at: 5th Feb 2007 20:39
I am using DarkGDK - Version 1.6.2c according to the readme.txt. that is, I am using the shareware edition.

Login to post a reply

Server time is: 2024-11-19 11:46:30
Your offset time is: 2024-11-19 11:46:30