|
True, but with a name like "born to create" I'm sure he'll do it in record time.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
I did my first 3D graphics an an Atari 800
In school I had not heard anything about vectors and matrices yet, so I figured the whole transformation and projection stuff out with regular trigonometry. What a triumph when I had my first tetrahedron choppily rotating on the screen
I'm invincible, I can't be vinced
|
|
|
|
|
CDP1802 wrote: so I figured the whole transformation and projection stuff out with regular trigonometry.
Ah the good old days.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
What kind of an answer did you expect? The general subject fills many books, beginning with a few chapters in a math book. But if you are looking for a less theoretical way to get started: Try this[^]
Anyway, that link makes getting started about as easy as possible, but you will still have a lot of learning and thinking before you.
I'm invincible, I can't be vinced
|
|
|
|
|
there are many sources on a web... you can look for a specific applications in line with your project..
hermaine...",)
|
|
|
|
|
Hello everyone!
What i want to do is to make an animation of a female character that appears on SCREEN and does everything it was supposed to do during animation.
The MAIN problem that i have no idea how to do this on the screen, without any borders of audio/video player. Closest EXAMPLE is VHGD aka VirtuaGirl player - girls walk on your screen without any border of the player (my version is NOT porn, it is rather gift).
Animation will be done by myself, all i ask is how to make it look like a VHGD.
How can i perform this using C# or any 3rd party libraries/ect?
|
|
|
|
|
Take a look at this[^] for a great tutorial on Windows skinning: i.e. showing the content without the frame and border portions.
|
|
|
|
|
Hello Richard!
The first thing is - thank you for the reply. I`ll look into that right now (well i`m working my 16th hour now )
If i get it right, i just need to use some sort of player to play usual AVI/H.264 file with animation... (of cource using technique you`ve provided)
Another question... this animation is "Advisor" - a copy of a real user actually that performs some actions like find document, search the database, edit the tables in the database and even dancing a bit. Is there any way to manipulate the AVI file to trigger events according to gestures?
For example, advisor raising it`s hand in the air and windows creates several buttons near advisor`s fingers.
Thank you.
|
|
|
|
|
You would need some sort of image recognition software or collision detection, to trigger an event when part of the body hits a certain point on the screen. Sorry, but that is well beyond my knowledge and experience level.
|
|
|
|
|
Thank you anyway, image recognition can be done using AForge library and neural networks... For some weird reason i`m occupied in program for image recognition (motion detection). Thanks a lot for a pointer to obvious thing! 
|
|
|
|
|
|
Thank you for the reply Alisaunder!
This is very simplified, i`m doing professional animation of model in 3dsmax 2012, then texturing via photoshop, adding effects via AfterEffects and... voicing it via Audacity...
What you`ve suggested came to my mind in the first place when i`ve decided to do such a thing But brain came to conclusion that quality is better.
|
|
|
|
|
I have protected List<vertexpositioncolor> vertices = new List<vertexpositioncolor>();
Now I added 8 VertexPositionColor for a cube and I can see that cube. I like to rotate it around x-axis or any axis. How this can be done?
Please note we are not changing the camera location.
All opration must be done on cube not the camera.
Your answer will be very much appreciated.
Best regards
Agha Khan
|
|
|
|
|
I am here to inquire would anyone like to tell me which one software would be most remain preferable for editing the photos. Because I am hurry to use it due to the reason i am working on the project of Joomla Templates and CSS Template design.
modified on Thursday, July 14, 2011 1:36 AM
|
|
|
|
|
For regular photo editing you could use either paint.net[^] or gimp[^].
Not sure what features they have for web design, but they're a start.
Cheers,
Drew.
|
|
|
|
|
Hi all (sorry if this is the wrong forum). In my work (I'm a financial planner) I use liquidity risk software^ (like this one) in order to evaluate different types of risks in different financial scenarios. These types of programs are genrally very useful, except that they usually spit out data in a difficult form to read. Sometimes they do display data visually, but the quality and readability of the visual aid is usually low.
I was wondering: is it possible to write some type of plugin or external software that would process this data (automatically or as close to that as possible) and present it visually in a more friendly way? I'm not a programmer myself, so I'd appreciate it if you could point me in the right direction. Would this only apply to open-source software? Does this sound plausible? possible? already outdated?
Thanks!
Stacey
|
|
|
|
|
|
|
I'm experiencing problems in setting compression parameters for a directshow video filter for a video and audio grabbed from a usb webcam.
The code I am using (adapted from various websites on the internet) is the following (removed error checking to improve readability):
hr=m_pGraph->AddFilter(m_pVidDeviceFilter,L"Vid Capture Filter");
hr=m_pGraph->AddFilter(m_pAudDeviceFilter,L"Aud Capture Filter");
hr = CoCreateInstance(CLSID_WMAsfWriter,NULL,CLSCTX_INPROC_SERVER,
IID_IBaseFilter, (void **) &m_pWMASFWritter);
DWORD dwBitRate = 2670000;
DWORD dwQuality = 50;
DWORD dwSecPerKey = 5000;
IWMProfileManager* pIPM = 0;
WMCreateProfileManager(&pIPM);
IWMProfile* pIProf = 0;
pIPM->CreateEmptyProfile(WMT_VER_9_0,&pIProf);
pIProf->SetName(L"Window Media Video 9 Profile");
pIProf->SetDescription (L"Window Media Video 9 Custom Encoding");
IWMStreamConfig* pVideoStream = 0;
pIProf->CreateNewStream(WMMEDIATYPE_Video,&pVideoStream);
pVideoStream->SetStreamName(L"videostream");;
pVideoStream->SetConnectionName(L"video");
pVideoStream->SetBitrate(662144);
pVideoStream->SetBufferWindow(3000);
pVideoStream->SetStreamNumber(1);
IWMVideoMediaProps* pVideoMediaProps = 0;
hr = pVideoStream->QueryInterface(IID_IWMMediaProps, (void**)&pVideoMediaProps);
WM_MEDIA_TYPE sMediaType;
WMVIDEOINFOHEADER sVideoInfoHeader;
memset(&sMediaType, 0, sizeof(sMediaType));
sMediaType.majortype = WMMEDIATYPE_Video;
sMediaType.subtype = WMMEDIASUBTYPE_MPEG2_VIDEO;
sMediaType.bFixedSizeSamples = FALSE;
sMediaType.bTemporalCompression = TRUE;
sMediaType.formattype = WMFORMAT_VideoInfo;
sMediaType.cbFormat = sizeof(WMVIDEOINFOHEADER);
sMediaType.pbFormat = (BYTE *)&sVideoInfoHeader;
memset(&sVideoInfoHeader, 0, sizeof(sVideoInfoHeader));
sVideoInfoHeader.rcSource.left = 0;
sVideoInfoHeader.rcSource.top = 0;
sVideoInfoHeader.rcSource.right = 352;
sVideoInfoHeader.rcSource.bottom = 240;
sVideoInfoHeader.rcTarget.left = 0;
sVideoInfoHeader.rcTarget.top = 0;
sVideoInfoHeader.rcTarget.right = 352;
sVideoInfoHeader.rcTarget.bottom = 240;
sVideoInfoHeader.dwBitRate = 262144;
sVideoInfoHeader.AvgTimePerFrame = 333667;
sVideoInfoHeader.bmiHeader.biSize = sizeof(BITMAPINFOHEADER);
sVideoInfoHeader.bmiHeader.biWidth = 352;
sVideoInfoHeader.bmiHeader.biHeight = 240;
sVideoInfoHeader.bmiHeader.biPlanes = 1;
sVideoInfoHeader.bmiHeader.biBitCount = 24;
sVideoInfoHeader.bmiHeader.biCompression = MAKEFOURCC(0xe4,0x36,0xeb,0x83);
sVideoInfoHeader.bmiHeader.biSizeImage = 0;
sVideoInfoHeader.bmiHeader.biXPelsPerMeter = 0;
sVideoInfoHeader.bmiHeader.biYPelsPerMeter = 0;
sVideoInfoHeader.bmiHeader.biClrUsed = 0;
sVideoInfoHeader.bmiHeader.biClrImportant = 0;
pVideoMediaProps->SetMediaType(&sMediaType);
pVideoMediaProps->Release();
hr = pIProf->AddStream(pVideoStream);
if (hr == NS_E_INVALID_STREAM)
{
}
CComQIPtr<IConfigAsfWriter2> pConfigWriter;
pConfigWriter = m_pWMASFWritter;
hr = pConfigWriter->SetParam(AM_CONFIGASFWRITER_PARAM_DONTCOMPRESS, FALSE, 0);
hr = pConfigWriter->ConfigureFilterUsingProfile(pIProf);
hr=m_pGraph->AddFilter(m_pWMASFWritter,L"ASF Writter");
hr = m_pWMASFWritter->QueryInterface( IID_IFileSinkFilter, (void**)&m_pFileSinkFilter );
hr = m_pFileSinkFilter->SetFileName(L"C:\\test.wmv", NULL);
Can someone point me in the right direction please?
---
|
|
|
|
|
(OpenGL on vs2008)
I'm drawing surfaces, not volumes. the issue is corruption (or maybe PEBKAC) when displaying "blended" (transparent)
I don't seem to understand how the surface must be "setup" to obtain full surface transparency on both the front side and back side.
I have something like :
::glReadBuffer( GL_BACK );
::glDrawBuffer( GL_BACK );
::glDepthFunc( GL_LESS );
::glEnable( GL_DEPTH_TEST );
glPolygonMode ( GL_FRONT, GL_FILL );
glPolygonMode ( GL_BACK, GL_FILL );
glLightModeli( GL_LIGHT_MODEL_TWO_SIDE, GL_TRUE );
glDepthMask( GL_FALSE );
glEnable( GL_BLEND );
glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA );
glColor4ub( red, green, blue, alpha );
glDisable( GL_BLEND );
glDepthMask( GL_TRUE );
glLightModeli( GL_LIGHT_MODEL_TWO_SIDE, GL_FALSE );
When using this code, there are some corruption in the display, surface "patches" are not rendered appropriately when displaying against "itself", for example a front facing polygon of a cone or cylinder which is displayed against a back" face of the same cone or cylinder.
see images showing the issue:
simple cylinder :
http://www.flickr.com/photos/thesorus/5346534862/in/photostream/[^]
and
a cone, a sphere and a plane.
http://www.flickr.com/photos/thesorus/5345924155/in/photostream/[^]
Max.
Thanks.
Watched code never compiles.
|
|
|
|
|
To achieve real transparency at a fast rate is hard. To get exact picture , you need to sort triangles from back to front , based your camera vector. Also sometiems , if triangles overlap , you need to splitup it.
The best way to do this is by implementing BSP tree. Using that you can do both front-to back or back-to-front rendering. I would suggest you to look into that first.
In general for a scene , i do like this ( for fake transparency )
1. Render all opaque objects
2. Sort triangles based on their material transparency.
3. Draw triangles which having lesser transparency level first followed by others.
If u can Dream... U can do it
|
|
|
|
|
Did you try glDepthFunc( GL_ALWAYS ) ?
Basically allowing all pixels to be drawn.
I think that might work rather than glDepthFunc( GL_LESS ) and glDepthMask( GL_FALSE );
"It was when I found out I could make mistakes that I knew I was on to something."
-Ornette Coleman
"Philosophy is a study that lets us be unhappy more intelligently."
-Anon.
|
|
|
|
|
Hi
I want the path drawn by "FillPath" to be transparent. How can I implement this?
Gdiplus::Graphics gr(dc);
Gdiplus::SolidBrush brush(Gdiplus::Color::Black);
...
gr.FillPath(brush, path);
gr.DrawPath(&p, path);
...
Thanks,
|
|
|
|
|
You need to select a colour value in your brush with alpha blending to make it appear transparent; see here[^] for more information.
I must get a clever new signature for 2011.
|
|
|
|
|
How to render opengl objects on windows desktop without attaching to the Desktop Window DC.
I mean it looks like rendering opengl scene on a window,but the window is totally transparent.
Thank you all
modified on Sunday, December 19, 2010 9:39 PM
|
|
|
|