View unanswered posts | View active topics


Post a new topicPost a reply
Previous topic | Next topic 

User avatar   Skilled Modder Skilled ModderMember since: 29.05.2010, 11:46Posts: 716Location: Germany Likes: 6
 

 Post Topic: Direct3D Plugin 1.9 for CE3
PostPosted 05.03.2012, 02:26 
Image

Using this you can add alternative UI Systems, Video Rendering, HTML Rendering and all other custom rendering stuff to your CryEngine3 FreeSDK project.

Get it here: http://www.crydev.net/project_db.php?action=project_profile&team_id=51&project_id=1623

Video example (WebM):


Alternative UI example (CoherentUI HTML):


Alternative UI example (CrazyEddies UI System):


I have included a sample and getting started guide in the Readme.

Quote by Changelog:
Plugin_D3D 1.9.0 (02.03.2013)
==============
Stable Release for CryEngine 3.4.5 (32/64 bit), DX9/DX11

New:
* DirectX 11 SwapChain Access

Changes:
* DirectX 11 Present Listeners now working
* DirectX 11 BeginScene Listener now same as PostPresent (compatibility)

Fixes:
* Fixed a sporadic assert/stack overflow in DX11 mode
* Cleaned up IsBad*Ptr (CheckAccess)

Plugin_D3D 1.8.0 (08.02.2013)
==============
Stable Release for CryEngine 3.4.4 (32/64 bit), DX9/DX11

Plugin_D3D 1.7.0 (19.11.2012)
==============
Stable Release for CryEngine 3.4.3 (32/64 bit), DX9/DX11

Plugin_D3D 1.6.2 (02.11.2012)
==============
Stable Release for CryEngine 3.4.0 (32/64 bit), DX9/DX11

New:
* Sourcecode Release
* Now using the Plugin SDK

Changes:
* Cleanup

Plugin_D3D 1.6 (12.08.2012)
==============
Changes:
* Overall thread safety improved

Fixes:
* Fixed a sporadic stack overflow in DX11 mode

Plugin_D3D 1.5 (21.05.2012)
==============
New:
* FreeSDK 3.4 (DX11) Support
* Added GetType() function to public interface

Changes:
* Changed parameters of InjectTexture

Plugin_D3D 1.1.1 (19.04.2012)
==============
New:
* FreeSDK 3.4 (DX9) Support

Plugin_D3D 1.1 (06.04.2012)
==============
New:
* Added texture replacement API to public interface
* Removed DX version from filename (dynamically loads the correct version)

Fixes:
* Fixed Shutdown (in some cases you could run into memory access errors while closing CE3)
* Internal improvements (preparation for DX11)
* Renamed directory from "D3DPlugins" to "D3DPlugin"
* Renamed sample class from "Sample_impl.h" to "D3DPlugin_Sample_impl.h"
* Fixed UnregisterListener crash

Plugin_D3D 1.0.1 (05.03.2012)
==============-
Initial Public Release for FreeSDK 3.3.9 (DX9)




Last edited by hendrikp on 02.03.2013, 19:05, edited 14 times in total.

User avatar   Experienced Modder Experienced ModderMember since: 17.07.2011, 04:14Posts: 586Location: The TyTilian Core Likes: 0
 

 Post Topic: Re: Direct3D Plugin for CE3
PostPosted 05.03.2012, 15:00 
Looks very cool, I will be trying it out soon. :D


My Rig:

32GB DDR3 RAM
3x GTX470s
Core i7 3930K @ 5GHz
3x 42 inch LCD TVs - 5760x1080 res
1x400GB - 6x2TB - 1x1.5TB HDDs
HAF 932 (GPUs & 750w) & HAF X (rest of system & 1200w)


Alienware M18x

[And yes, that is me in my DP]
User avatar   Uber Modder Uber ModderMember since: 04.11.2007, 00:05Posts: 1951Location: Sweden Likes: 0
 

 Post Topic: Re: Direct3D Plugin for CE3
PostPosted 05.03.2012, 23:20 
I'm guessing this is awesome, but it mostly makes me sad that I can't do any programming :happy:
User avatar   Skilled Modder Skilled ModderMember since: 29.05.2010, 11:46Posts: 716Location: Germany Likes: 6
 

 Post Topic: Re: Direct3D Plugin for CE3
PostPosted 05.03.2012, 23:35 
Quote by VABG:
I'm guessing this is awesome, but it mostly makes me sad that I can't do any programming :happy:


Well some flowgraph nodes or other extensions can be created using this, those could be used by you then ;)

e.g. I'am working next on a WebM Videoplayer Plugin which can be used by flowgraph or C++. I will also release a GameDLL so that the stuff can be used without programming knowledge.


User avatar   Uber Modder Uber ModderMember since: 04.05.2011, 17:12Posts: 1166Location: Belgrade Likes: 2
 

 Post Topic: Re: Direct3D Plugin for CE3
PostPosted 06.03.2012, 00:42 
This is great, especially those alternative UI!


User avatar   Experienced Modder Experienced ModderMember since: 30.06.2011, 13:37Posts: 451 Likes: 0
 

 Post Topic: Re: Direct3D Plugin for CE3
PostPosted 06.03.2012, 03:43 
as always great work


Image
  Trainee TraineeMember since: 25.06.2011, 17:26Posts: 186 Likes: 0
 

 Post Topic: Re: Direct3D Plugin for CE3
PostPosted 07.03.2012, 02:18 
Nice. Will this be the second thing to receive Cry-JR's coveted "Coding & Not Crying" award?
User avatar   Skilled Modder Skilled ModderMember since: 23.03.2011, 05:21Posts: 769Location: Alberta / Canada Likes: 0
 

 Post Topic: Re: Direct3D Plugin for CE3
PostPosted 07.03.2012, 02:22 
Quote by SteveUK:
Nice. Will this be the second thing to receive Cry-JR's coveted "Coding & Not Crying" award?


I really hope so, it deserves it.


Also, are you a moderator on the facepunch forums?
User avatar   Skilled Modder Skilled ModderMember since: 29.05.2010, 11:46Posts: 716Location: Germany Likes: 6
 

 Post Topic: Re: Direct3D Plugin for CE3
PostPosted 07.03.2012, 08:28 
Quote by Johnny Guitar:
Quote by SteveUK:
Nice. Will this be the second thing to receive Cry-JR's coveted "Coding & Not Crying" award?


I really hope so, it deserves it.


Also, are you a moderator on the facepunch forums?


I think not, but maybe the "Crying & Coding" award :P


  Trained Modder Trained ModderMember since: 17.04.2008, 00:04Posts: 302 Likes: 0
 

 Post Topic: Re: Direct3D Plugin for CE3
PostPosted 12.03.2012, 03:35 
This is awesome! Its almost incomprehensible as to why there was no existing way to play video in the engine from Crytek, doesn't almost every other major game engine already support video windows?

Anyhow awesome! I'll be using this soon. The demo video was cool too, but the whole time I was saying "Hey ,stop shooting the windows! You just got'em working!"
  Beginner BeginnerMember since: 21.05.2008, 20:09Posts: 4 Likes: 0
 

 Post Topic: Re: Direct3D Plugin for CE3
PostPosted 12.03.2012, 19:03 
Given that the renderer source is not available, how are you registering the following so that these methods get called?

struct ID3DEventListener
{
virtual void OnPrePresent() = 0;
virtual void OnPostPresent() = 0;
virtual void OnPreReset() = 0;
virtual void OnPostReset() = 0;
virtual void OnPostBeginScene() = 0;
};

struct ID3DSystem : public ICryUnknown
{
CRYINTERFACE_DECLARE(ID3DSystem, 0xB1C4DC106CBB48E4, 0xB9A2115A07011487)

virtual void RegisterListener(ID3DEventListener* item) = 0;
virtual void UnregisterListener(ID3DEventListener* item) = 0;
virtual void* GetDevice() = 0;
};
User avatar   Trained Modder Trained ModderMember since: 10.09.2008, 08:18Posts: 219Location: ireland,mullingar Likes: 0
 

 Post Topic: Re: Direct3D Plugin for CE3
PostPosted 12.03.2012, 19:23 
So, um, if I understand it correctly, we would be able to implement things like RayTracing?! Or would this have to be a DirectX feature... The latter appears true. Still, there are many good things to implement. Man, thank you for this.
User avatar   Skilled Modder Skilled ModderMember since: 29.05.2010, 11:46Posts: 716Location: Germany Likes: 6
 

 Post Topic: Re: Direct3D Plugin for CE3
PostPosted 12.03.2012, 20:12 
Quote by yeo1:
Given that the renderer source is not available, how are you registering the following so that these methods get called?


@yeo1
Well the listeners I call myself, if you want to know more read this thread:
viewtopic.php?f=314&t=81627

The GetDevice must be called from your code to retrieve the device found by my plugin, its is found by analysing the memory. (In theory it could happen that it returns NULL)

The Plugin is realised using IEngineModule and in general the CryExtension headers (This is described in the SDK doc)

@sereda008
no not really. What you can do is overlay stuff (also 3d overlay) and change textures. However you can at this point not really modify the rendering to raytracing.

@all
Currently I'm working on extending the ID3DSystem Interface so that you guys can replace textures as shown in the WebM demonstration.



Anyways if there are feature requests or other stuff I'm happy to oblige, just say a word.

Also I'd like feedback about issues or if it works on SLI and that sort of stuff, thanks ;)


  Experienced Modder Experienced ModderMember since: 29.12.2004, 16:20Posts: 414Location: Amersfoort Likes: 0
 

 Post Topic: Re: Direct3D Plugin for CE3
PostPosted 14.03.2012, 00:26 
Great work. I would like to see something like "Bullet" Game Physics Simulation added so we can have some physics via OpenCL
  Beginner BeginnerMember since: 18.11.2011, 00:08Posts: 71 Likes: 0
 

 Post Topic: Re: [RELEASED] Direct3D Plugin for CE3
PostPosted 04.04.2012, 15:15 
Hi, the video texture seem great. Since i am not programmer, im only a level designer/3d asset, is it possible for you to release a simple plugin working with basic installation of cryengine3?

thanks