Jump to content
  • Advertisement

cgrenderman

Member
  • Content Count

    13
  • Joined

  • Last visited

Community Reputation

122 Neutral

About cgrenderman

  • Rank
    Member
  1. I am not very familiar with directshow.now ,I want to capture video and audio to a avi's file.how can do it,can you supply me a example? thanks!
  2. I capture video by the avi's format.now,i want to conbine avi and wav to .mov. Can dshow solve this problem?how can i do,if you have source codes,please send to me thanks!
  3. cgrenderman

    about DirectShow.....

    I want to cancel the video's play during it runs,but the frame cann't response me....What can i do ?
  4. I use mfc to realize a video's playing with fullscreen.Referring to the dx sdk,i use directdraw realize it.But, during the playing i want to change the main_window's behavior,however i cann't. Who can help me?
  5. cgrenderman

    win32 api conflict with mfc..........

    I have solved my problem.As long as i put MFC header files ahead of <windows.h> and use the /MTD to debug,it's ok!^_^,thanks for your help.
  6. cgrenderman

    win32 api conflict with mfc..........

    Firstly,thanks for your help.^_^ when i do as you guide,it also has problems. This time,i use precomplier heads and put all mfc's header files in it,put <windows.h> in my Quest3D's program; my project: channelDemo.cpp: #include "stdafx.h" #include "ChannelDemo.h" ChannelType channelType; extern "C" __declspec( dllexport ) ChannelType* __cdecl GetType() { ZeroMemory(channelType.name, 80); StringCbCopy(channelType.name, 79, CHANNELDEMO_NAME); channelType.version = CHANNELDEMO_VERSION; channelType.guid = CHANNELDEMO_GUID; channelType.baseguid = CHANNELDEMO_GUID; channelType.minimumEdition = EDITION_LEVEL_ALL; // All Quest3D Editions return &channelType; } CHANNELDEMODLL_EXPORTS ChannelDemo::ChannelDemo() { SetChannelName(CHANNELDEMO_NAME); //TODO: Add construction logic here } ChannelDemo::~ChannelDemo() { //TODO:: Add destruction logic here } ...... channelDemo.h: #define CHANNELDEMO_NAME "ChannelDemo" #define CHANNELDEMO_VERSION 1 //{F65D46E2-ACC8-407B-8D6B-5725E9BB6FD4} static const GUID CHANNELDEMO_GUID = { 0xF65D46E2, 0xACC8, 0x407B, { 0x8D, 0x6B, 0x57, 0x25, 0xE9, 0xBB, 0x6F, 0xD4 } }; class CHANNELDEMO_API ChannelDemo: public A3d_Channel { public: ChannelDemo(); virtual ~ChannelDemo(); .... }; stdafx.h: #include <windows.h> #include "A3d_List.h" #include "A3d_Channels.h" ..... now ,i need use camimage.h in my project camimage.h: class CCamimage : public CWnd { protected: DECLARE_DYNCREATE(CCamimage) public: CLSID const& GetClsid() { static CLSID const clsid = { 0xC79D3167, 0x6133, 0x4E7C, { 0x82, 0x1C, 0x5C, 0x11, 0x46, 0x11, 0x2, 0x2D } }; return clsid; } virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwstyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL) { return CreateControl(GetClsid(), lpszWindowName, dwstyle, rect, pParentWnd, nID); } ..... } it needs :#include <afxwin.h> // MFC core and standard components #include <afxext.h> // MFC extensions #include <afxdisp.h> // MFC Automation classes how i do the header files?thanks,
  7. cgrenderman

    win32 api conflict with mfc..........

    My compiler is vs2003,my project include:channel.cpp :needs header file:#include "A3d_List.h" #include "A3d_Channels.h"(the quest3d sdk's ) capturevideo.h: class CCamimage : public CWnd{......};needs header files:#include <afxwin.h> etc.. during channel.cpp,I need use class CCamimage; how can i manage the header files? if i put <afxwin.h> in stadfx.h,put <windows.h>, "A3d_Channels.h" to channel.cpp .it also occurs to the same problem.
  8. I use Quest3D's API(base on win32 api) for my application.I want to add the axis's api(base on mfc)to my project.the complier hint:#error WINDOWS.H already included. MFC apps must not #include <windows.h> how can i solve with the problem? thanks!
  9. Recently,i learns GPU programming on the basis of NVIDIA's CG lanuage. I want to know what you use when you develop games or other,hlsl or cg or glsl? Does GLSL be supported well in America? How the prospect of CG?
  10. cgrenderman

    Rotating UV 90 degrees

    You can assign the reversed coords directly!
  11. cgrenderman

    where can i get shaderX?

    Certainly,i also want to buy the physical copy.But i'am in China, the book hasn't been on sale.
  12. I want to get shderX.Who can tell me the website to download,thanks!
  13. when I compile the program of cg(c for graphics)with MS Visual Studio 6.0,my compiler always tell me the result: PROFILE : fatal error PRF1011: cannot open file c:\do***ents and settings\runtime_ogl\arbvp1.pbi Error executing c:\windows\system32\cmd.exe. Can anybody tell me why? Thanks!
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!