Learning Posted June 2, 2015 Share Posted June 2, 2015 Hello, I'ts possible to create a 'preview model' like in samp? like this; maybe with shaders? i'm not good enough with this :l Link to comment
WhoAmI Posted June 2, 2015 Share Posted June 2, 2015 Of course it is. Just you have to collect all the vehicle's images and put them into one folder. Then, you have to draw them using dxDrawImage or create them with GUI function guiCreateStaticImage. Link to comment
FranklinRoosevelt Posted June 2, 2015 Share Posted June 2, 2015 Of course it is. Just you have to collect all the vehicle's images and put them into one folder. Then, you have to draw them using dxDrawImage or create them with GUI function guiCreateStaticImage. But, he asks possible show model, (no picture). Picture take memory, and in big quantity this is problem. Link to comment
ALw7sH Posted June 2, 2015 Share Posted June 2, 2015 It's possible but it will take more than just draw pictures (CPU) Link to comment
FranklinRoosevelt Posted June 2, 2015 Share Posted June 2, 2015 It's possible but it will take more than just draw pictures (CPU) I do not think so. How it's possible? Link to comment
Dealman Posted June 3, 2015 Share Posted June 3, 2015 Do you mean sort of like a showroom preview? Because if so, you can use setCameraMatrix to set the camera to the location you want, and then spawn the vehicle in front of the camera. Then you can rotate it as you please. Link to comment
Learning Posted June 3, 2015 Author Share Posted June 3, 2015 Do you mean sort of like a showroom preview?Because if so, you can use setCameraMatrix to set the camera to the location you want, and then spawn the vehicle in front of the camera. Then you can rotate it as you please. hmm, i'll try it, thanks Link to comment
FranklinRoosevelt Posted June 3, 2015 Share Posted June 3, 2015 Do you mean sort of like a showroom preview?Because if so, you can use setCameraMatrix to set the camera to the location you want, and then spawn the vehicle in front of the camera. Then you can rotate it as you please. It is not what I want make. Link to comment
xXMADEXx Posted June 3, 2015 Share Posted June 3, 2015 As WhoAmI said, you can just use either dxDrawImage or guiCreateStaticImage to create the images of the images of the vehicle, however you have to find the images for the vehicle somewhere. Link to comment
FranklinRoosevelt Posted June 3, 2015 Share Posted June 3, 2015 As WhoAmI said, you can just use either dxDrawImage or guiCreateStaticImage to create the images of the images of the vehicle, however you have to find the images for the vehicle somewhere. viewtopic.php?p=798595#p798595 I want create script where player can see objects/cars/skins on the display. I like saving memory. Link to comment
3B00DG4MER Posted June 3, 2015 Share Posted June 3, 2015 that will take much more of ur memory the only way to to draw the image of it Link to comment
Dealman Posted June 3, 2015 Share Posted June 3, 2015 As WhoAmI said, you can just use either dxDrawImage or guiCreateStaticImage to create the images of the images of the vehicle, however you have to find the images for the vehicle somewhere. viewtopic.php?p=798595#p798595 I want create script where player can see objects/cars/skins on the display. I like saving memory. We're helping the OP, not you Drawing a few images won't be too bad on your memory, especially not if they're small. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now