
ThePentiumGuy
Avatar/Signature-
Posts
1152 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Events
Articles
Resources
Downloads
Gallery
Everything posted by ThePentiumGuy
-
oh, so you've loaded multiple textures from one bitmap.. the only way that i see to get around it is to take the bitmap and save it.. mybitmap.save("sometempfile.bmp") and then use FromFile, and then delete the bitmap.... horrible memory handling though ;) pent
-
here's what i do while loading the texture: SpriteImage = TextureLoader.FromFile(dxDevice, ImageName, width,height, D3DX.Default, 0, Format.Unknown, Pool.Default, Filter.Point, Filter.Point, TheTransparentColor.ToArgb) and before rendering: dxDevice.RenderState.SourceBlend = Blend.SourceAlpha dxDevice.RenderState.DestinationBlend = Blend.InvSourceAlpha dxDevice.RenderState.AlphaBlendEnable = True and after rendering (for performance reasons) dxDevice.RenderState.AlphaBlendEnable = False
-
oh so basically with Paint, if you (for example) resize the form, it'll redraw itself automatically whereas with OnPaint, it wouldn't do this becuase it wouldn't 'react to the conrol drawint itself'? pent
-
o_O!50%?? wow.... and i thought 56k was becoming obsolete
-
whats the difference between these 2?
-
i beleive so, i think they would just have to say Dim device as YourDLL.DirectX.Direct3d.DEvice try importing it in your DLL? and maybe it'll come out that way pent
-
..so basically mesh.intersect knows of transformations (i honestly don't know what all this unprojcet stuff does - i havent really done any linear algebra yet - only in 10th grade)
-
hey ever since this forum was bought by iNET (i dont mean to be 'rebellious', but im just trying to state a fact), i havent really seen a lot of people at this forum is it because the heavy interface takes a toll on the 56k'ers? or the increased formality.. or? i mean i've been here for a year almost, and i certainly remember last year there were a lot of active people around, now this forum seems almost .. empty (with the exception of a few people) is it just me? or is anyone else thinkin the same thing? pent
-
they really need an update, but i dont think MS would 'suport' their old software (im guessing that to them, 2002 is old) for 2002, they need to fix this error, and other minor issues such as the absence of Form1_MouseScroll (or somethign like that) from the little dropdown menu pent
-
Why don't MS develop more .net Frameworks?
ThePentiumGuy replied to AlexCode's topic in Water Cooler
random question: but why are we refering to unix as " *nix " ? alexcode: IMO i think it would cost MS a lot of money for R&D, but in the end it would pay off.. -
u mean reinstall? or reopen? :p hopefully its not reinstall
-
sry man im not that advanced in d3d yet to understand this :-\
-
hey guys, whenever i use .net (2002) and try to type in some text, i can only see half of it (either the top half or the bottom), and in order to get aroudn that i have to select all and delselect all. but the error wont really go away.. i could also just close the file and reopen the file and then the error will be back after some time im running a 3.0 ghz + 1 gb DDR ram... so there's practically no reason for this to be my computer's fault. i beleive this is a .net ide issue does anyone have a solution for this? (and yep i tried closing Dynamic Help) pent
-
got my comp :) changed it to Radeon 9800Pro 256 mb graphiucs card Sound Blaster Live 5.1 asus motherbaord + 5.1 surround + Firewire + 8 USB ports + AI (lots of room for overclocking with its amazing heatsink) 80gb - nzxt case 1 gig ram logitech z-640 5.1 surround sound (no monitor) 12x dvd RW (+ or -, dual format) DVD/CD drive 3.0 gHz ~$1250 i dont want to start a flame war, but for anyone else who'se interested in buying a computer, i'd recommend IBUYPOWER. i was a little bit shy about buying from it earlier becuase i was converned with the reliablity.. - but its all cool btw the comptuer came in 1 piece :p works great - same comp costs almost double on HP pent
-
well, it depends you might be developing in dx 9b and he might only have the 9a instaled..
-
The Easyest DirectX Question i Ever hope to ask
ThePentiumGuy replied to rifter1818's topic in DirectX
just wanna make a quick comment: i dont think my reply was very clear lol u said u want to makethe center point (0,0,0). in order to do that, just set the cameraTarget (0,0,0). becuase the cameraTarget is what you're looking at, and that point is the center of the screen also, the greater the aspect ratio, the wider the objects will seem to appear pent -
rifter: what Kavan said seems to be right becuase all you're inputting in the arguments are the position and direction. if it was in world space, it would be even more confusing btw - i tried this out - i translated thje world in various places, and tried mesh.intersect and the collision happens in the same place every time - no matter where you translate the world, so i think its model space coordinates thanks both of you pent
-
oh, it has to be the *world matrix* ? becuase im using the view matrix LookatLH to change my positions and stuff pent
-
The Easyest DirectX Question i Ever hope to ask
ThePentiumGuy replied to rifter1818's topic in DirectX
you're doing 3d right? hmm, ok, to set the center point to 0,0,0 - you'd have to set the camTarget to 0,0,0.. beucase that point will be the center of the screen so just do d3ddev.transform.view = matrix.lookatlh(campos, new vector3(0,0,0), new vector3(0,1,0) d3ddev.transform.projection = matrix.perspectiveFOVLH( math.pi/4, 1, -50,0) 'math.pi / 4 is 45 degrees - so you can see "45 degrees around you", the "1" represents the Aspect Ratio: most TV's use 16:9 which is widescreen (just type in 1.777 to get 16:9) im not sure what PerspectiveLH is though i beleive taht matrix.scaling (10,10,1) makes it 10x larger :) pent -
also another q, im just gonna post it here becuase i dont wanna make too many posts, when you check for collision - does the Mesh.Intersect "know about" the trasnformed positions? meaning, if you keep the car msh in the same place, but you move the platform when you check for collision using platform.intersect(car.position, new v3(0,1,0)), would the mesh.intersect 'realize' taht the platform has been moving down the entire time, or will it just use the model space positions (which havent been transformed) pent
-
Are Lights Transformed Or Not? :) pent
-
The Easyest DirectX Question i Ever hope to ask
ThePentiumGuy replied to rifter1818's topic in DirectX
im not too sure if you want to use a projection matrix for that.. d3ddev.transform.view = OrthoLH(1024,768, znearplane,zfarplane) would do what you're asking OrthoOffCenterLH would specify the bounds like (IIRC): (left , right, bottom, top, znear,zfar) like what you're asking for. (and with the arguments that you provided, the center = 0,0,0 but OrthoLH would make your 'center point' 0,0,0 its basically: left = -width/2 right = width/2 top = -height/2 bottom = height/2 isnt the LookAt matrix masinly for 3d games? here's my tip in 2d: i transform the world, and set the view = orthoLH in 3d: i dont worry aobut my center point, so my view = LookAt, and projection = ..(crap i completely forgot lol - its like PerspectiveFOVLH or something) pent -
yeah there's a lot of privacy issues going on with GMail. i honestly dont think its that bad, the sites that say stuff like this have a lot of out of context quotes: example http://gmail.google.com/gmail/help/more.html#data Google keeps multiple backup copies of users' emails so that we can recover messages and restore accounts in case of errors or system failure http://gmail-is-too-creepy.com/ Google has never been known to delete any of the data they've collected ... How about words such as "box cutters" in the same email as "airline schedules"? Can you think of anyone who might be interested in obtaining a list of email addresses for that particular combination? Or how about "mp3" with "download"? Since the RIAA has sent subpoenas to Internet service providers and universities in an effort to identify copyright abusers, why should we expect Gmail to be off-limits? Intelligence agencies would love to play with this information. honestly i think they're (http://gmail-is-too-creepy.com/) really taking it too far here :p yeah i tried Hotmal popper, but i realized that i didn't really need a POP3 account. and besides, Outlook Express can connect to hotmail automatically, pent
-
i cant use it :) it tells me 'only a limited amount of people..etc can use this' btw just a quick q: will i get a new address? (thepentiumguy@gmail.com) or something? and the whole 'enter your email' was just for confirmation purposes thanks a lot pent
-
yeah, im looking into this right now BTW u can get a Terrabyte thru gmail if you're invited by an Employee http://google.weblogsinc.com/entry/8276386740662606/#c6552 !!! Yahoo made their paid subscriptions have "virtually unlimited" mail and their free ones 100 mb apparently, yahoo did this out of competition to GMail's 1GB account i registered for gMail thru my hotmail account (its sort of a pop3 thing? i dunno) but since its a beta atm, i cant use it but im just wondering: hotmail offers 4 mb - it asks you to register with an already existing account if gmail offers a gig, and my gmail account is thepentiumguy@hotmail.com - will my HOTMAIL account have 1 gig now?.. see, if i receive mail from my hotmail account, if my hotmail account goes up to .. lets say 500 MB, obviously hotmail will prevent me from receiving messages.. so im a little confused on how this system will work thanks, pent