Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. Gameplay
      2. Missions
      3. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Arena War
      2. After Hours
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA Next

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

tonywob

[WIP] IPL Editor

Recommended Posts

Jezzerking

will we be able to import our own models into this editor and place them on the map?

Share this post


Link to post
Share on other sites
tonywob

 

will we be able to import our own models into this editor and place them on the map?

Yep, but they will need to be in .dff format to start with, unless someone can write a decent 3ds to dff file in C rolleyes.gif

 

 

Do you guys have GL_LIGHTING disabled? Then how do you keep the models from being too dark?

 

In my viewer I use GL_AMBIENT to set a base light that lights up the dark parts, and GL_EMISSION tracks the vertex colors. Rest is inactive because there are no normals.

Maybe this is weird, but it does give a possibility to change the base lighting with time of day without changing vertex colors..

 

I originally had lighting enabled when I was playing around with the DFF models without textures. But since everything I use is now textures, I have disabled lighting and I use glColor3ub with the Vertex Colours, the night-time ones use alot of bright colours. To make a model appear brighter, make sure the colour doesn't go less than a specific value, e.g. if (R<30) {R=30;}

 

 

I will post a release as soon as I know it won't blow up anyone's computer or destroy their GTA installations without good reason. (I've just managed to do it on my San Andreas because of a bug I had left in on the .img rebuilder) cryani.gif The moral is, ALWAYS BACKUP!!!

 

 

Edited by tonywob

Share this post


Link to post
Share on other sites
steve-m
Do you use realtime lighting? Don't do that, disable all lights in the scene and only use the vertex colors.

 

Do you guys have GL_LIGHTING disabled? Then how do you keep the models from being too dark?

 

In my viewer I use GL_AMBIENT to set a base light that lights up the dark parts, and GL_EMISSION tracks the vertex colors. Rest is inactive because there are no normals.

Maybe this is weird, but it does give a possibility to change the base lighting with time of day without changing vertex colors..

ATM I only use glLightModelfv with GL_LIGHT_MODEL_AMBIENT, but that's not enough. What other possibilities are there (except for vertex shaders)?

 

@tonywob: Adjusting all colors manually and using glColor3ub must make your renderer veeery slow, no?

Share this post


Link to post
Share on other sites
tonywob

@stevem

The colours are only applied once when the DFF models are compiled into a list. However, I can see I will need to change this behaviour later on to allow a more dynamic lighting environment.

 

BTW, I thought your viewer used DirectX? or at least it asked for the DirectX DLL

Share this post


Link to post
Share on other sites
mrMagnetic

@stevem

I use glLightfv with {.04, .04, .04, 1} and glMaterialfv with {1, 1, 1, 1}, looks kind of ok. i never used glLightModelfv, but maybe you need to set some material thingies too.

 

@tonywob

great looking program, are you releasing a beta soon? *cough* source code *cough*. using display lists takes extra memory, if you use the binmesh part of the dff it's easy to render with glDrawElements. but you're probably aware of that..

 

 

Share this post


Link to post
Share on other sites
tonywob
@stevem

I use glLightfv with {.04, .04, .04, 1} and glMaterialfv with {1, 1, 1, 1}, looks kind of ok. i never used glLightModelfv, but maybe you need to set some material thingies too.

 

@tonywob

great looking program, are you releasing a beta soon? *cough* source code *cough*. using display lists takes extra memory, if you use the binmesh part of the dff it's easy to render with glDrawElements. but you're probably aware of that..

I have tried both methods, and I actually found display lists quicker. True! they use more memory, but once you have a display list, you can clear the data in your DFF Class (If you don't need access to the Vertex data again!). ATM my memory problems come with textures, disabling these (As it recommends in MooMapper) will speed up things but at a cost.

 

I found it quite slow on a Macintosh, and display lists were the only way to speed it up. Must be a NVidia VS ATI card thing.

 

How much have you managed to get working? Can you post any screenshots! I am interested to see how the different lighting methods work

Share this post


Link to post
Share on other sites
mrMagnetic

 

@stevem

I use glLightfv with {.04, .04, .04, 1} and glMaterialfv with {1, 1, 1, 1}, looks kind of ok. i never used glLightModelfv, but maybe you need to set some material thingies too.

 

@tonywob

great looking program, are you releasing a beta soon? *cough* source code *cough*. using display lists takes extra memory, if you use the binmesh part of the dff it's easy to render with glDrawElements. but you're probably aware of that..

I have tried both methods, and I actually found display lists quicker. True! they use more memory, but once you have a display list, you can clear the data in your DFF Class (If you don't need access to the Vertex data again!). ATM my memory problems come with textures, disabling these (As it recommends in MooMapper) will speed up things but at a cost.

 

I found it quite slow on a Macintosh, and display lists were the only way to speed it up. Must be a NVidia VS ATI card thing.

 

How much have you managed to get working? Can you post any screenshots! I am interested to see how the different lighting methods work

this is how it looks with these parameters, if i put the light on 1,1,1,1 i get maximum brightness (same as without lighting, using only white vertices).

 

btw i think display lists and textures share graphics card memory, once uploaded you can discard texture buffers as well (of course), unless you want to keep them around to be able to free graphics mem or something.

 

user posted image

Share this post


Link to post
Share on other sites
tonywob

@mrMagnetic

 

I used to use real-lighting but later decided against it, since most objects have Vertex Colours. What I do is load the required textures for the scene creating Texture Objects and then I clear the data buffer. Loading an IPL for GTA III or Vice City uses around 80-90MB, disabling textures gives much better performance.

 

-------------

 

 

My next major hurdle is the img archiver. Everything works now, it is just so slow, it takes around 5 minutes to rebuilld the archive after adding files to it, it works quicker from a command prompt, so the GUI is slowing it down (and that excludes progressbars, etc).

 

I probably won't get much done over the next few days as I am away for a long weekend smile.gif, and then hopefully I will have LCS to play with on Tuesday ( Well, that's the theory!!)wink.gif

 

 

 

 

Share this post


Link to post
Share on other sites
Supdario

Supports the fog?

 

(we want beta biggrin.gif )

Share this post


Link to post
Share on other sites
Eclipse_nl

Can we load totally stripped versions of SA (like Myriad)

 

Could you release a beta version before you go play LCS? blush.gifcolgate.gif

Share this post


Link to post
Share on other sites
Jezzerking

 

will we be able to import our own models into this editor and place them on the map?

Yep, but they will need to be in .dff format to start with, unless someone can write a decent 3ds to dff file in C rolleyes.gif

 

man i love you, thanks a bunch, converting my max files in to dffs isnt a problem (kams scripts)

this tool is the ultimate modder tool for me, being able to place my models in to the map as i please

 

 

Share this post


Link to post
Share on other sites
RainingAcid

So, will be able to add things into SA soon?

Share this post


Link to post
Share on other sites
tonywob

 

So, will be able to add things into SA soon?

That's the theory hopefully!! wink.gif

 

 

At the moment, I am working on the IDE object editor, making it easy to create new IDE files and add/edit objects in the IDE files. I hope to get an early alpha release soon, but I don't want to release something that is going to destroy people's installations. At the moment it is still a viewer, with a view added features.

 

I think the major challenge in San Andreas is the .col file support and paths (Which aren't understood very well yet). Adding 2DFX lighting in San Andreas is also a big challenge since this is defined in each object and can only be editted with a hex editor.

 

This seems to work very well with user modifications, there is no reason why it shouldn't. I have tried it with the LVS mod in San Andreas and also the Liberty City in Vice City Mod, also in this thread. There is no reason why it shouldn't work with Myriad Islands.

 

As of LCS, I have been told I have to wait till Friday, bloody UK release dates die.gif.

Edited by tonywob

Share this post


Link to post
Share on other sites
flitcroft101

Cool cookie.gifcookie.gif

 

Any new updates rah.gif

Share this post


Link to post
Share on other sites
-=ChezZ=-

When can we see this out for download ive been itchin to start mapping with this but its a tease.

 

Good work tho! tounge.gif

Share this post


Link to post
Share on other sites
Dillyracer

yeah, then we can start mapping with something else than notepad lol

Share this post


Link to post
Share on other sites
Supdario
yeah, then we can start mapping with something else than notepad lol

I don't use notepad for mapping biggrin.gif

I use 3D Studio Max 7,5 biggrin.gif lol

Share this post


Link to post
Share on other sites
AleXXX

I love you. BIG thanks from Russian GTA-mapping community.

Share this post


Link to post
Share on other sites
Yegorchic
BIG thanks from Russian GTA-mapping community.

Very BIG...

Share this post


Link to post
Share on other sites
demonj0e
yeah, then we can start mapping with something else than notepad lol

youve been able to use 3dsmax for mapping for ages dill sigh.gif

Share this post


Link to post
Share on other sites
flitcroft101

he means adding it to game...

Share this post


Link to post
Share on other sites
burpicane

there you got KAM his map IO script for tounge.gif

Share this post


Link to post
Share on other sites
Supdario

Yes....

I use 3DS Max....

But I will use this tool when released biggrin.gif

Share this post


Link to post
Share on other sites
tonywob
Your tool is looking better and better. I've got a couple of very handy ideas:

 

-When you click al Model the edges are faced (white)

-Rightmouse on a Model and you copy it then (so you could copy a lot of models at the same time)

-PICK/CAR/ENEX/CUL and suchs things as support

Clicking on a model will give it a red glow and add axis lines to it, making it clear which model you have selected. The axis lines help you visualize the effects of rotations and movement before you actually apply it.

 

I will add an option so you can copy and paste and object smile.gif

 

I will get simple map editting working first before moving onto to the other sections, such as PICK/CAR/ENEX/CUL, etc..

 

The IDE editor now works, so you can add/delete and edit objects. Although I have made an .img archiver, it is faster to add the objects yourself to the img archive using another tool. I will work on improving this though as this is quite important.

 

Started work on the IPL editor, so far you can select items on the map and move them, by using the buttons in the editor or by dragging the object around the screen. Personally I find it easier using the buttons in the editor, but I have left both options in. I am working on the rotations ATM, rather than using quaternions or axis angles, I have made it use standard euler angles, that is you choose how much rotation you want on the X,Y,Z axis, e.g. 45,0,0. I had to brush up on my maths for this sneaky2.gif .And I still can't verify whether it is correct, although it appears to work correctly.

 

I have simplified the interface, the image archiver is no longer part of the main screen, but a secondary tool accessed via the menu. Dialogs have been renamed and I am debating whether to remove the wireframe/textures and alphablending options to make place for something more useful. What do you all think? I see it like "how often are you going to look at the map in wireframe mode"

 

 

 

Share this post


Link to post
Share on other sites
Dillyracer

This is awesome dude, you will be sort of legend if you can let this work tounge.gif

Any plans when you think first version will come out ?

Share this post


Link to post
Share on other sites
Towel

And how soon we can use this mapper for SA?????? biggrin.gif

Share this post


Link to post
Share on other sites
TeiSsoN
BIG thanks from Russian GTA-mapping community.

Very BIG...

And ukrainien also! biggrin.gifsmile.gifbiggrin.gif

Share this post


Link to post
Share on other sites
Alizee

I want this tool... please give it !!! =)

blush.gif

 

rahkstar2.gif

Share this post


Link to post
Share on other sites
Mr Killer
I want this tool... please give it !!!

 

 

Be patient, he will release it when he is ready! mad.gif

 

 

This is gonna be great, I can't wait until it is released. The first thing I am going is make an invisible platform in the sky. smile.gif

Share this post


Link to post
Share on other sites
Towel
I want this tool... please give it !!!

 

 

Be patient, he will release it when he is ready! mad.gif

 

 

This is gonna be great, I can't wait until it is released. The first thing I am going is make an invisible platform in the sky. smile.gif

When will this tool ready? smile.gif

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.