Has anyone made progress with this? An example or tutorial would be most helpful.
On 7/28/05, Skyler York <[EMAIL PROTECTED]> wrote: > Nevermind my last question, turns out render targets are really just a > special kind of material. So yeah that would explain how you render to > a texture :P > > Kamran wrote: > > > Excellent if you could, I'd love you. :-P > > > > Maurino Berry wrote: > > > >> I'll post a tutorial in a week or so. > >> > >>> From: "sykes" <[EMAIL PROTECTED]> > >>> Reply-To: [email protected] > >>> To: [email protected] > >>> Subject: Re: [hlcoders] 3d model in a VGUI panel? > >>> Date: Wed, 27 Jul 2005 15:36:59 +0000 > >>> > >>> Totaly looking to do the same thing for our MOD. > >>> > >>> Want to make a weapon model selection GUI.. (we have replacement > >>> models for > >>> our weapons).. currently its an external app, but i'd like to > >>> incorperate > >>> it > >>> ingame.. > >>> > >>> > >>> On Wed, 27 Jul 2005 00:39:28 -0700, Skyler York wrote > >>> > It's absolutely possible. Just take a look at > >>> > IVModelRender::DrawModel() on the client, in addition to > >>> > C_BaseAnimating::DrawModel() and C_BaseAnimating::InternalDrawModel() > >>> > to see how studio models are rendered and how the function is > >>> > called. This works well for regular screen-space panels, however > >>> > for world-space panels like CVGuiScreen you'll probably have to > >>> > render to a texture, and then render the texture on a panel. Check > >>> > out view.cpp and view_scene.cpp around the places where > >>> > IMaterialSystem::SetRenderTarget() is called. However the material > >>> > system uses ITexture and the VGui system uses texture IDs, and I'm > >>> > not sure how to bridge that gap so you can render the texture on the > >>> > panel. I'm sure someone who knows more (read: Valve developer) can > >>> help. > >>> > > >>> > Kamran wrote: > >>> > > >>> > > Is it possible to load a 3d model into a little panel to show on a > >>> VGUI > >>> > > screen? > >>> > > -- > >>> > > Kamran A > >>> > > Get Firefox! Safer, Faster, Better. > >>> > > <http://www.spreadfirefox.com/?q=affiliates&id=0&t=85> > >>> > > Down with Internet Explorer! Say "NO!" to Spyware! Use Firefox > >>> > > > >>> > > _______________________________________________ > >>> > > To unsubscribe, edit your list preferences, or view the list > >>> archives, > >>> > > please visit: > >>> > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > >>> > > > >>> > > > >>> > > >>> > _______________________________________________ > >>> > To unsubscribe, edit your list preferences, or view the list > >>> > archives, please visit: > >>> http://list.valvesoftware.com/mailman/listinfo/hlcoders > >>> > >>> > >>> -- > >>> ^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^ > >>> + L A D N E T webmail Unix or DIE! > >>> +^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^`'~=-.,__,.-=~'`^ > >>> -= www.ladnet.org =- > >>> > >>> > >>> _______________________________________________ > >>> To unsubscribe, edit your list preferences, or view the list archives, > >>> please visit: > >>> http://list.valvesoftware.com/mailman/listinfo/hlcoders > >>> > >> > >> _________________________________________________________________ > >> Designer Mail isn't just fun to send, it's fun to receive. Use special > >> stationery, fonts and colors. > >> http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines > >> > >> > >> Start enjoying all the benefits of MSN(r) Premium right now and get the > >> first two months FREE*. > >> > >> > >> _______________________________________________ > >> To unsubscribe, edit your list preferences, or view the list archives, > >> please visit: > >> http://list.valvesoftware.com/mailman/listinfo/hlcoders > >> > >> > >> > > > > -- > > Kamran A > > Get Firefox! Safer, Faster, Better. > > <http://www.spreadfirefox.com/?q=affiliates&id=0&t=85> > > Down with Internet Explorer! Say "NO!" to Spyware! Use Firefox > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

